How to make the guides using methods SDK?

Hi all

I have a request. How can we make guides via calls to functions.. SDK ? I was unable to find something like this... Help, please... There is no piece of code in the samples too...

Thank you!

Hello

Of course, once you have created the path with sAIArt-> New (...), nothing is displayed, you must specify the coordinates for each point of your future guide.

For a horizontal guide, you write something like

AIPathSegment S;

AIArtHandle MyPath;

error = sAIArt-> (kPathArt, kPlaceAboveAll, Nile, & MyPath); NewArt

The guide will have two points.

error = sPath-> SetPathSegmentCount (MyPath, 2);

Position of the first point.

S.p.h = 10;

S.p.v = 120;

S.in = S.out = S.p;

error = sAIPath-> SetPathSegments (MyPath, 0, 1, &S);)

Position of the second point.

S.p.h = 800;

S.in = S.out = S.p;

error = sAIPath-> SetPathSegments (MyPath, 1, 1, &S);)

The path will be a guide.

error is sAIPath-> SetPathGuide (MyPath, true);.

This time, a horizontal guide will be created and will appear in (10; 120) to (800; 120).

JLG.

Tags: Illustrator

Similar Questions

  • How to make the guides on a master page that is more effective

    I have a grid of guides on a master page. They do not appear in my pages to work, but they do not have this "magnetic quality" that I expect - things do not align with them. I have in my work pages and master page layers. Can someone help me sort out what I have to do to make the guides more effective? CS4 on Mac.

    "Align on the box" Options Guide 1px?

    In addition, 1 pixel is not much, maybe you don't see the snap. Try 5 pixels

  • How to make the partitions using the toshiba restore CD

    Hi forum users. I just want to explain more on creating partitions using our Toshiba Recovery CD. I have a portable satellite A50-101.

    I searched some topics on this forum and found this post from Quad. Just follow these steps carefully and you'll be successful to make the partitions on your hard drive.

    Here is the message by Quad.
    ######################
    Hi forum users

    If anyone of you needs an accurate description of installation of operating system using Expert mode, maybe this can help you.

    When the recovery process has begun there are menu where you can choose between two modes of installation.
    1 standard mode
    2. expert mode

    At first he put there important warning: all data stored on your computer will be lost. It is also important that hollow a Standard installation partition will be created and all data on the hard drive will be lost.

    If you want to install the operating system on a partition, please use Expert mode. In this case, the software can be installed on an existing partition. Alternatively, you can make one by yourself.

    If you want to make a partition with a set capacity, please do it on this path:

    1. choose number 2 Expert mode pressing
    2 approve OK key ENTER
    3. choose LOCAL > DISK > image
    4. look in: must be selected for the CD-ROM drive
    In the Middle window choose GHO file and press ENTER
    5. using the TAB key you must mark the player information and so on and press ENTER
    6. using TAB button again part brand of window average (blue line) and with SPACE activate new dimension box
    7. place inside the new size of the partition and press ENTER again
    8. the question to continue with load disc? confirm with OK

    I hope this can help you to make the desired partition size.

    Good bye
    ######################

    At step 6 above, enter the size of the partition you want. Size must be entered in megabytes (MB), gigabytes (GB). (mine is 40 GB HDD, i.e. 38146. I go to half, 19073)
    Proceed with the disk load? Click OK.

    It will now recover your machine to its factory setting. 2 partitions will be made.

    Once the restore is complete, open my computer. You'll see only drive Local (c) on hard drives. Click on properties and you will see that the size that you specified in step 6 above (20 GB). So, where's my other 20 GB? It is a way to treat 2 to make a new logical drive.

    Follow this link: (these links has screenshots for easier understanding)

    http://www.theeldergeek.com/hard_drives_07.htm - create an extended Partition (step 1)
    http://www.theeldergeek.com/hard_drives_08.htm - create logical drives in an extended Partition. (Step 2)

    I hope this can help you make a new logical drive in an extended partition. :)

    Hi 012

    Thank you very much for your posting. I forgot to mention that the logical drive must be created because the unusable space do not appear by Windows.

    But there are users like you to help. Respect!
    Fashion Expert recovery procedure section is now perfect.

    Good bye

  • How can I make the best use of a new external hard drive and a new catalog full of photos just loaded into Photoshop elements 14 Organizer?

    How can I make the best use of a new external hard drive and a new catalog full of photos just loaded into Photoshop elements 14 Organizer?

    Keep all the files on external hard drive image?  Nothing else and no pictures on the desktop?

    Keep all image files both places?

    What is the best way to go through thousands of images in the Organizer to identify and place them in files?

    Once I've placed a file, I just leave it in the entire catalog or a way indicate to me that it has been sorted?

    As overwhelming, any tips/shortcuts/schemes, you can offer are welcome!

    As I only have the version of the EP, here is some info on the organiser:

    https://helpx.Adobe.com/Photoshop-elements/how-to/use-elements-Organizer.html

    Independent of how this feature works, you want to have your photos in one place and have a backup (second copy) somewhere else. All hard drives will not be successful at some point - some more early, some late - never trust to have your files in any safety devices if they are on a single disc. Once you have your sorted, it would be useful that you will organize/name/tag new photos immediately if the task is relatively short and simple. I copy my photos on my internal hard drive for my camera, take a quick look with preview to see who needs some changes and then decide where to put them - either drop them immediately after naming them or bring in an editing application and then file them away.

  • Using Windows Mail - how to make the smaller Options box so I can see the bottom and be able to act on it?

    Computer is a 32-bit Dell XPS * SP2 Windows Vista (Home Premium), Internet Explorer 9 Panda anti-virus

    Nothing new and NO change has been made.

    Using Windows Mail - how to make the smaller Options box so I can see the bottom and be able to act on it?

    Even when I hide the taskbar I always can't NOT see the background.  Thanks in advance for any help. It drives me crazy.

    Set your resolution to be higher.  Right click on your desktop, go to personalize, then choose the resolution down.  Set it to the highest setting.

  • How to make the menu letters more when you use Lightroom 4?

    How to make the menu letters more when you use Lightroom 4?

    Hey Lenovo W510,.

    The police of interface only option in Lightroom of sizing is in the preferences > Interface > panels > Font Size (Small/Large)

    The configuration in grand and then restarting Lightroom will increase the fonts you see in the signs that describe the functions of LR.

    If you're on Mac or Windows you might also decrease your screen/display resolution that will make everything look bigger on your screen.

    Hope this helps,

    Kind regards

    Pete

  • How to make the default text size and line spacing in small Sticky Notes?

    How to make the default text size and line spacing in small Sticky Notes

    Hello

    I suggest that you try the method below and check if it helps.

    Method 1: analysis of auditor of file system (CFS)

    System File Checker is a Windows utility that allows users to find corruptions in Windows system files and restore the damaged files. To perform a scan of the SFC, check out the link: https://support.microsoft.com/en-us/kb/929833.

    Note: the steps for Windows 8/8.1, works perfectly with Windows 10.

    Method 2: clean boot

    A clean boot is executed to start Windows by using a minimal set of drivers and startup programs. This will eliminate software conflicts that occur when you install a program, an update or when you run a program in Windows. Follow the link to perform the clean boot: https://support.microsoft.com/en-us/kb/929135.

    Kind regards

    Angelo bar

    Microsoft community

  • How to make the decrement on listField list?

    IM create code like this:

    public class ScreenList extends MainScreen implements ListFieldCallback{
        String x[];
        ListField list;
        public ScreenList(){
            String arr[] ={"1", "2","3","4","5","6"};
            list = new ListField();
    
            int length = arr.length;
            x = new String[ length];
            for(int i=length-1; i>=0; i--){
                x[i]=arr[i];
                //add(new LabelField(arr[i]);
            }
            list.setSize(length);
            list.setCallback(this);
            this.add(list);
        }
    
        public void drawListRow(ListField arg0, Graphics arg1, int index, int y,
                int width) {
            // TODO Auto-generated method stub
            arg1.drawText(x[index], 0, y);
    
        }
    

    If I always try on Simulator Simulator print 1,2,3,4,5,6, but if I try to print to new Label 6,5,4,3,2,1 result

    My question... How to make the decrement with listField list implements reminder? Thanks in advance...

    Oops sorry correction instead of length use length - 1

  • S3000-514: how to make the secondary battery to unload everything first?

    Hello world!
    After I ve managed to charge my secondary battery on my laptop (see my previous announcement), I'm now getting another "strange" problem
    With my two batteries in and on the battery the first battery to discharge is the main battery - and not high school!
    This leads to a problem: when I want to change the secondary battery with my combo player, I'm not always have enough power in my battery.
    I have found how to make the battery discharging first of haven´t.
    Can anyone help?

    Hello

    Unfortunately, it is not for me and as much as I know it can not be changed. Probably the electronic power supply is configured to run on this path. Have you tried to remove the main battery and work by simply using secondary? What happens in this case?

  • How to change the location of the @ how to make the Euro symbol and where is 'hash '?

    I am a proud new owner Portege M300. Now all I need? knowledge is:

    -keyboard looks liks the sign @ is above the 2. In fact, it's above the apostrophe, where the quote is true. I want to have the @ sign overcoming the 2 because that's what I'm used to =. How I change these autour?

    -How to make the Euro sign (as £ and $)?

    -Why is£ 3 rather than the 'hash' sign that is posted above? How to make the sign of 'hash '?

    Hello

    Before you can perform any discussion can you please tell me in which country is your laptop bought and what specific keyboard of the country to unity? Each cell has a specific keyboard of the country.

  • How will I know if my Airport Extreme has the latest firmware?  And (not related) how to change the password used to connect to my network?

    I think I bought the latest version of Airport Extreme.  It is the unit which is rectangular, is about 6 to 7 w., etc.  I have some basic questions that I do not understand:

    1. How will I know if I have the latest firmware for this device?  I read a few posts that make it sound as if it was just automatically updates.  Is this true?

    2. can someone tell me how to change the password used to connect to my wireless network?

    Thank you very much!

    Chris

    If a firmware update is available, AirPort Extreme flashes orange.

    The most up-to-date version of the firmware is 7.7.3.

    You can see what version you currently have the following on your Mac...

    Open Finder > Applications > utilities > AirPort Utility

    Click on the image of the AirPort Extreme

    Look for the Version

    If the new firmware was available, you will see a button update here

    To change the wireless network password...

    Click on edit in the window smaller than you watched just to check the firmware version

    Click on the Wireless tab at the top of the next window

    Go back / change the wireless password and enter a new password

    Do the same thing to check

    Click Update at the bottom right of the window and give the airport a minute full for restart

  • How to make the network I have a WinbitXP, 32 bit SP 3 to a Win 7, 64?

    How to make the network I have a WinbitXP, 32 bit SP 3 to a Win 7, 64?

    Monday, February 27, 2012 04:40:18 + 0000, Bruce Giese says:

    How to make the network I have a WinbitXP, 32 bit SP 3 to a Win 7, 64?

    Make sure that you create a Working Group. Do not create a homegroup, which
    can only be used with Windows 7 computers.
    Ken Blake, Microsoft MVP

  • How to make the updates of operating system for the limited user account?

    original title: how to make the updates of operating system for the limited user account?  Limited user account cannot access the Windows Update page, see instead cautioned against MS the most recent must be installed.

    XP Pro SP3 slipstreamed.  New a DBAN nuked HDD installation

    All the OS updates installed from Admin acct before creating the LUA

    AV installed AVAST

    all dot net uninstalled and then reinstalled to resolve a problem installing Quicken

    Updates to auto lit

    Active Windows Firewall

    Three solutions of workaround for Windows XP running as a limited user

    http://blogs.Computerworld.com/16502/three_workarounds_for_running_windows_xp_as_a_limited_user

    Survive a Windows XP Limited user account

    http://techknack.NET/surviving-a-Windows-XP-limited-user-account/

    See the response from Michael Kuntz - re: HAL files

    http://social.technet.Microsoft.com/forums/en-us/itproxpsp/thread/e8612ac4-b881-4FB3-85e7-32004932fb5f

    There is an available for installation of SP3 Cd

    Manually installing SP3 using the Microsoft Download Center or a CD

    If you have problems to receive the service pack from Windows Update, you can download SP3 as a standalone package from the Microsoft Download Center Web site, and then install SP3 manually. The installation package is intended for it professionals and developers, but you can always download and install this file.

    You can also order a CD from Microsoft containing SP3. For more information, go to the Microsoft site.

    To manually install SP3 using the standalone package installation or CD

    1. Do one of the following:

      • If you downloaded SP3 from the Web site, to install it immediately, click Open or run and follow the instructions on the screen. To install the program later, click on save and download the file to install it on your computer. When you are ready to install the service pack, double-click the file.

      • If you install SP3 from the Service Pack 3 CD, insert the disc into your computer with your current version of Windows XP running, and Software Update Installation Wizard should appear automatically. If this wizard does not appear, click Start, double-click my computer, click on your CD or DVD drive and then click AutoPlay.

    2. In Windows XP Service Pack 3 page, click Next.

    3. Follow the instructions that appear on your screen.

    4. Once the installation is complete, click Finish to restart your computer.

    5. If you disabled your antivirus software, turn it back on.

  • How to change the rendering used for video playback in Windows Media Center Version 6 engine

    I usually use other media players, but I would like to first of all using Windows Media Center. However for the moment video playback is not good because of the weird colors (everything is displayed in black and Red instead of normal colors). When you use other media players, I use the Haali rendering engine which gives good results for video playback.

    Can you tell me how to change the rendering used by Windows Media Center?

    Also, I noticed the same weird color effect in Windows Media Player 11.

    Hi Woobee,

    1. What is the brand and model of the computer?

    2. what graphics card use on the computer?

    If you are using an Nvidia graphics card on the computer, in the Nvidia Desktop Manager, you will find an option for saturation to ensure it is set to 100%.

    And if you are any other graphics card on the computer and search for a similar option for saturation.

    If the previous step fails in Windows media player, so be sure that the hue and Saturation are defined by default.

    1. click on the arrow on the tabplaying , point to enhancements, and then clickcolor picker.

    2. do one of the following:

    1. to return to the default color, click thereset link.

    Also, make sure that the video settings are set by default.

    1. start the playback of a file.

    2. click on the arrow on the tabplaying , point to improvements, and then clickvideo settings.

    3. click onreset.

    Check also in Windows Media Center if the

    1. on theStart screen, go to tasks, click settings, clickgeneral, then Visual and sound effects.

    2. undercolors ensure that Windows media center standard is enabled.

    Turn off Visual and sound effects in Windows Media Center

    http://Windows.Microsoft.com/en-us/Windows-Vista/turn-off-Visual-and-sound-effects-in-Windows-Media-Center

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • windows vista 64-bit vista need upgrade Express dvd, but can't without a yellow sticker? is - this saposed to be somewhere on my pc? or on the vista cd case? and how to make the upgrade without the sticker? __

    need vista in windows vista 64-bit upgrade Express dvd, but can't without a yellow sticker? is - this saposed to be somewhere on my pc? or on the vista cd case? and how to make the upgrade without the sticker?

    32-bit to 64-bit is NOT an upgrade path.

    It must be done with a clean installation using a Vista FULL 64-bit disk/license.

    Buy a version of disk/license FULL Vista 64 bits of your local computer, or online store: amazon, newegg, etc.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    If you already have a version of Vista Home 64 bit, here's how to buy Vista 64 bit Ultimate Anytime Upgrade:

    http://www.Microsoft.com/Windows/Windows-Vista/get/Anytime-Upgrade-overview.aspx

    See you soon. Mick Murphy - Microsoft partner

Maybe you are looking for

  • All-in-one Pavilion 23-Q227C: HP install and download Assistant does not

    Whenever my computer starts up, the HP download and install the wizard tries to run to download a driver Realtek (SP74157) and HP Support Assistant (SP71727).  It fails each time, with a pop up that says "installation HP and download Assistant works

  • do not print to the printer wireless network computers connected to wifi

    Don't know if I'm in the right Forum but here goes.  I work in a dealership service department. I have 4 computers connected to our network. I just bought a pro m426fdw mfp laserjet 4 in 1 ad printer connected to our wifi system because there is no a

  • CLEAR CMOS MEMORY

    With the power off, reset the jumper from pins 1-2 to 2-3 for about 5 to 10 seconds. Have power on when the jumper is set to pins 2 and 3?  or must it be turned off.  Thank you.

  • calculate the scalar product

    Hi all hope that everyone else is doing great! I have a question about a problem that was asked to do. It says I have to calculate the scalar product, so I wonder if I just did? The constraints are that one way is to make ite with only discreet from

  • Backup on an external hard drive of two computors. __

    I have a laptop running on a desktop running on XP and Vista. Can I save on my 500 GB external drive? If so, what should I do (as appropriate) to keep my backup separate and easy to differentiate files?