How to make a sublayer from an existing layer

Hi
I have two layers and I want to put the second layer into the first one. The second becomes a sublayer.
How can it be done ?

ArtHandle movingLayerGroup = 0, destinationLayerGroup = 0;
AIErr error = sArt->GetFirstArtOfLayer(movingLayer, &movingLayerGroup );
// check error
error = sArt->GetFirstArtOfLayer(destinationLayer, &destinationLayerGroup );
// check error
// kPlaceInsideOnBottom can obviously also be kPlaceInsideOnTop
error = sArt->ReorderArt(movingLayerGroup, kPlaceInsideOnBottom, destinationLayerGroup);
// check error

Similar Messages

  • How to make a template from an existing document on my ipad Air 2 using word

    I want to know if it's possible to make make a template from an existing document on my ipad Air 2 using the free microsoft word app.
    Thank you

    RAW import is not yet supported. Just guessing that this is what you were trying . - Guido

  • How to make a silhouette from a portrait (photo) and-

    How do I make a silhouette from a portrait?
    And how do I make the background transparent?

    Do you mean that I send you the portrait?
    Chabæna
    26 apr 2014 kl. 12:31 skrev c.pfaffenbichler <[email protected]>:
    Re: How to make a silhouette from a portrait (photo) and…
    created by c.pfaffenbichler in Photoshop General Discussion - View the full discussion
    How do I make a silhouette from a portrait?
    Ah, but wouldn’t it be ever so much easier to explain if you actually provided (a lores of) the image in question?
    And how do I make the background transparent?
    Preferably with a Layer Mask and then saving in the appropriate file format (psd or png24 for example support transparency).
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6332417#6332417
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6332417#6332417
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6332417#6332417. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop General Discussion at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • How do i load content from an existing ipod to a new computer and installation of itunes?

    how do i load content from an existing ipod to a new computer and installation of itunes?

    Recover media from iPod
    See this post from forum regular Zevoneer for options on moving your iPod data back to your computer.
    tt2

  • How to make bootable iso from download

    how to make bootable iso from download

    This one - https://www.microsoft.com/en-us/download/details.aspx?id=5587
    1st:  This is NOT a .ISO file!!
    2nd.  It is a .MSI file which is a Microsoft Installer file.
    3rd:  Read the instructions:
    Install Instructions:
    Click the Download button to start the download.
    Do one of the following:
    To start the installation immediately, click Run.
    To save the download to your computer for installation at a later time, click
    Save.
    To cancel the installation, click Cancel.
    When installation completes a file called readme.txt will open to provide instructions for burning a home computer restore CD. The file is also located
    next to the ISO image file for later reference.
    4th: If you are unable to read and follow instructions, there is nothing anyone in these forums can do to assist you.  You must be capable of reading and following instructions! 
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    OK, well sorry to disagree with you but:-
    1. Using windows 7, the download does not provide a save but only a run option.
    2. In the MS predownload instructions you copied it refers to the readme text next to "the ISO image"
    3. This is a copy of the read me file attached:-
    "This ReadMe document is one of the Windows Home Server Home Computer Restore CD files. Unless you changed the installation location during setup, the Home Computer Restore CD files and license terms are located in one of the following folders:
    * On Windows Vista: %HOMEPATH%\Documents\Windows Home Server Home Computer Restore CD (Dual Boot)
    * On Windows XP: %HOMEPATH%\My Documents\Windows Home Server Home Computer Restore CD (Dual Boot)
    To use the Home Computer Restore CD software, you must write the ISO image file (restorecd_dual.iso) to a blank CD. A CD/DVD burner is required to write
    the ISO image file to the CD. Usually a CD/DVD burner includes the software that you need to write ISO image files. Follow the instructions with your burner software, and then select the option to write an ISO image, not the option to write
    individual files. Note that you cannot write the ISO image by using Windows Explorer to copy the file to the CD-ROM drive.
    Burning the ISO image creates a bootable CD. To restore your home computer, boot the computer from the CD and follow the instructions.
    Microsoft may update the Windows Home Server Home Computer Restore CD software. You can download the latest version from the Microsoft Web site at http://go.microsoft.com/fwlink/?LinkID=109282.
    If you want to review the license terms for the Windows Home Server Home Computer Restore CD, the file EULA_DUAL.TXT can be found in the same folder"
    As you will see it refers to the downloaded .iso file. Nowhere is there a reference to a msi.  As there was only a run function on the downloaded file, it could not be saved. How is an ordinary Windows user meant to interpret the instructs
    if the download function does not work? What you do is try and follow the instructions and produce a load of frigging coffee mats, as it seems did many of the posters on this thread. Are we all illiterate?
    If Microsoft could think in the way of a user it would help a lot of people.
    So Rick Dee, please inform me how I misread the instructions?

  • How to make data flow from one application to other in BPEL.

    Hi All,
    I am designing work-flow of my application through BPEL(JDeveloper), I am making different BPEL projects for different functions, like sales manager got the order from sales person and sales manager either approve it or reject it, if he approve it it goes to Production manager and he ships the goods, now I want to keep sales person, sales manger,production manager in seperate BPEL files and want to get the output of sales person to sales manager and sales manager to production manager please help me in dong this.
    I was trying to make partner link in Sales manager of sales person and getting the input from there. I dont know this is right even or not, if it is right I dont know how to make data flow from one application to other.
    Experience people please guide.
    Sales Person -----> Sales Manager ----> Production Manager
    Thanks
    Yatan

    Yes you can do this.
    If you each integration point to be in different process, you have to create three BPEL process.
    1. Create a Async BPEL process 'A' which will be initiated when sales person creates the order.
    2. From BPEL process 'A' call a ASync BPEL process 'B' which has the approval flow. Depending on the input from process 'A' the sales manager will review the order in workflow and approve or reject and send the result back to process 'A'.
    3. Based on the result from workflow, invoke the Sync BPEL process 'C', where you can implement the shipping logic.
    -Ramana.

  • How to make one dvd from several camcoder dvd's

    How to make one dvd from several camcoder dvd's. I got a dvd camcoder, to be able to play them into DVD player I had to finalize  my disks. Now I got several DVD's whith short files and terrible custom camera menu. I'd like to make it more presentable.
    The main problem is I dont want to recode my vob files. So Final Cut and other editing soft is bad idea.
    Is there any soft on mac I could reauthor my DVD's?

    How to make one dvd from several camcoder dvd's. I got a dvd camcoder, to be able to play them into DVD player I had to finalize  my disks. Now I got several DVD's whith short files and terrible custom camera menu. I'd like to make it more presentable.
    The main problem is I dont want to recode my vob files. So Final Cut and other editing soft is bad idea.
    Is there any soft on mac I could reauthor my DVD's?

  • My message always comes from my iCloud @me handle and not my other IM accounts when I send an IM? How to make it come from my @gmail account?

    My message always comes from my iCloud @me handle and not my other IM accounts when I send an IM? How to make it come from my @gmail account?

    Hi,
    As you have found in the View Menu of iChat is the option to Display the Recipients Bar
    This bar when clicked will display the Screen Names that you know for your Buddy and your own Screen Names.
    The Buddy's names are in the "To:-" section whilst your own are in the "From:-"
    Example pic from my iChat 6
    The Chat window has to Be Open.
    The Buddy's current name becomes a Drop Down that show the To and From names.
    It appears to allow you to Connect Google or Jabber IDs to AIM Buddies but the tick will move to any valid Account if you change either the To choice or the From choice.
    AS you say about the add Buddy drop down that appears - when your Buddy list are displayed as one an extra drop down appears fro you to Select the account/list it is joining as a Buddy
    8:17 PM      Wednesday; January 4, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • HT1338 how can make a room from my start up disk in in mac pro

    how can make a room from my start up disk in in mac pro

    Only you can decide what you want to delete to free up space on your PB, Personally I think you'll find 17 GB won't go very far when you start to add video.
    Consider an external drive. Don't forget if you let your free space fall below 10% of the total size of the drive you will risk corrupting your directory structure or causing other damage which may result in a loss of data.

  • How to make a copy of an existing BSP application

    Hi Experts,
    I am working on Web UI WB where i am tyring to make enhanchments as per the clients requirment. I have created new enhanchment set, however i am unable to understand how to make a copy of existing BSP application to make the required changes. Can someone let me know the procedure on how to copy the BSP and make the changes in the methods.
    I am using the TCODE BSP_WD_CMPWB then the component BT108H_LEA
    Thank you
    Leela

    Hi,
    I am trying to rename LEAD with Constituent in Web ui and for that purpose i have created ZClass in Web UIWorkBench, I am able to make changes to the related Method in the Zclass where i have replaced the string with Constituent. Now when i open Webui i see Lead overview page with the description as ConstituentBPLEAD. Can some one let me know how to remove BPLead from the description. I am putting across the code that i have incorporated in the method.
    method IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION.
    CALL METHOD SUPER->IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION
    EXPORTING
    IV_CURRENT_DESCRIPTION = IV_CURRENT_DESCRIPTION
    RECEIVING
    DESCRIPTION = DESCRIPTION
    Data corp_descr type string.
    corp_descr = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_MASTER/TITLE' ).
    if description cs corp_descr.
    replace corp_descr with 'Constituent' into description.
    endif.
    endmethod.
    Thanks
    Leela

  • How to make custom PLD from a query

    How would I make a PLD from a query?

    HI Jonathan,
    Did you mean this?
    Choose query that you want to create PLD then select create report
    Regards,
    JP

  • How to make "More Products" from Answers visible

    I am using OBIEE 10.3.4.2.
    I developed a solution that requires "Delivers". On my developers' box (Windows 7) everything is visible. Under "More Products", I see:
    Delivers
    BI Publisher
    Marketing
    Disconnected Analytics and
    Download Oracle BI for Microsoft Office.
    The moment I put my RPD and Catalog in System Test--which uses https:// and on a UNIX server, I can now only see:
    Download Oracle BI for Microsoft Office.
    which makes me suspect that their is a setting/configuration that is preventing me from seeing these products.
    Can someone tell me how to make these products visible? What settings do I need to change to make them visible?
    Thanks,
    "D"

    I shut the services both in SYS Test and my DEV box.
    Zipped the Catalog.
    Deleted all the old catalogs from my DEV box.
    unzipped the new Catalog
    started the services and I can see everything under " More Products"
    Shut down the services
    Moved back the Catalog to Sys Test
    And NO LUCK!!!
    I am beginning to think it is something to do with SSL
    "-D"

  • I want to know how to make a cd from my playlist

    How do I make a cd from the song on my playlist?

    Go to the playlist, then click File>Burn Cd

  • How To Make an Array from Multiple Choices of a Drop-Down Menu?

    I have a drop-down menu (or a scrollable list). Visitors can make multiple selection from the list. How do I put those selected items into an array?

    See JList.getSelectedValues()

  • How to make html file from a text field data

    hi!
    I want to know how to make a file with .html extension and the data in this file should be from a text field. like i want to enter some thing in a text area and have to place it in a file on server side in html formate.

    so you told us what you want, but what is your question?

Maybe you are looking for