Illustrator SDK :: CS3 - How To Change Page Size Of Active Document

Feb 15, 2014

Apparently, in the CS3 is impossible to do any scripting and using any actions. Can it be done using plugins sdk, without creating a new document? I tried using the functions SetPageSetup and SetCropBox but no effect

View 6 Replies


ADVERTISEMENT

AutoCAD .NET :: Change Active Document Window Size

Sep 20, 2012

I'm trying to change the active document window size with vb.net. This seems like it should be straightforward, but I'm having some trouble. Below is some code that I tried to use which I found on the AutoCAD DevBlog.. I thought I understood how this works, but I can't seem to import the correct references to make it work.

Dim doc As Document = Application.DocumentManager.MdiActiveDocument()
Dim docWindow As Window = doc.Window
Dim size As Size = docWindow.Size
docWindow.WindowState = Window.State.Normal
docWindow.Size = New Size(500, 500)

View 4 Replies View Related

Illustrator Scripting :: Change Active Layer Name Same As Document Name

Sep 30, 2013

I would like to make the active layer name the same as the document name.  I know very little about scripting.  I found this script:
 
var idoc = app.activeDocument;var ilayer = idoc.activeLayer;var filename = idoc.name;ilayer.name = filename;
 
It does almost what I need it to do. except that it also copies the ".ai" in to the layer name.  Is there some way to modify this script to have it exclude or delete the file extension?

View 4 Replies View Related

Illustrator :: Document Setup In CC Not Allowing To Change Page Orientation?

Jun 23, 2013

I love the new versions of Illustrator, but get left in the dust with new innovations that I can't figure out.
 
I am trying to go to File > Document Setup and all I get is a new dialog box that completely leaves out page orientation and page size as well. I just want to have an artboard that is 11" x 8 1/2" but there is nothing I see in menus or in palettes that give the old comfortable page orientation change that you used to be able to do in older versions of Illustrator. How do I set page or artboard size and orientation?

View 2 Replies View Related

CorelDRAW Graphics Suite X5 :: Get Text From TextBox1 By Pressing CommandButton1 To Active Page Or Document?

Jul 22, 2013

How do I get my text from my TextBox1 (add text)  by pressing my CommandButton1 (okay) to my active page or document?

View 1 Replies View Related

CorelDRAW Graphics Suite X5 :: Change Ruler Scale Per Page In Multi-page Document?

Oct 16, 2010

I quite often need a separate ruler scale on each page of a multi-page document. The only way I know how to do this is to create  a separate document for each drawing that requires a new scale.

I request that you add the ability to change the ruler scale on a per page basis within a single multi-page document.

I am using CDR X5 SP1.

View 3 Replies View Related

AutoCAD 2013 :: Change DWS File In Active Document

Jul 30, 2012

I write plug-in for AutoCAD in C# and I have a question. How I can change dws-file in active document?

I know how it's doing in LISP, but not  in C#.

View 1 Replies View Related

AutoCAD .NET :: Event For Change Active Layer In Document

Aug 24, 2012

Is there event for change current (active) layer of document?

(it's not Database.ObjectModified - it's not raised).

I tried to do it with binding as:

public void Initialize()
{
var layerList = Application.UIBindings.Collections.Layers;
layerList.PropertyChanged += new PropertyChangedEventHandler(LayerList_PropertyChanged);

And -= in Terminate, but... Autocad 2012 chashed _sometimes_!!!

Impossible to understand when it happened. So I reject this way. Is there other way to handle this event?

View 2 Replies View Related

Illustrator :: Change Page Size To Tabloid And Scale To Fit In Action

Jul 19, 2013

I use and action to print, save, save to desktop as PDF(using custom preset), close.New acocunt I am working on requests 2 printouts, but cannot record that in the action. If I can edit my actions. Am inexpereinced with this code but my guess is this is the area:
 
/event-1 {
/internalName (ai11_print_plugin)
/localizedName [ 5
5072696e74

[Code] .....

Not as important but also looking  to  change page size to tabloid and scale to fit in action.

View 3 Replies View Related

Illustrator :: Save Page-tiled Document As Multi-page PDF In CS6?

Apr 4, 2013

This was very easy to do in earlier versions of Illustrator, but now it seems like the only option is to make a separate artboard for each page tile!

View 1 Replies View Related

Illustrator SDK :: How To Get List Of All Fonts And Colors Used In Active Document (AI File)

Oct 24, 2011

Is it possible to get the list of all the fonts and colors used in the active illustrator document (.ai file) ?
 
if yes then how?

View 6 Replies View Related

Illustrator Scripting :: Select Pattern Objects In Active Document

Mar 16, 2014

We need a script that select all pattern objects in the active document in illustrator.

View 5 Replies View Related

CorelDRAW X5 :: Set / Change Background Of Only One Page In Document

Jan 19, 2012

I have a document with multiple pages. How can I change the background of only one page? In the layout settings I only can set the background for all pages. 

View 10 Replies View Related

Illustrator :: Multiple Page Document In CS6?

Dec 3, 2012

I am working with multiple page document in Illustrator CS6. I have saved my document in .pdf. Before I managed to open the whole file, but now it asks me which page I want to open. Can I some way open again the file as a multi page file and work with all the files at the same time?

View 2 Replies View Related

Illustrator Scripting :: Rotate Whole Document Page In Vbscript

Apr 19, 2012

in an open PDF File  i press 'Ctrl+A' to select all Items in the document, then i choose Edit/Transform/rotate ... 90 degree.now i'd like to do the same with an vbscript.
 
the best thing i could find is:

rotate(90)
Sub rotate (degree)
Dim appRef, argument, element
Dim changePositions, changeFillPatterns, changeFillGradients, changeStrokePattern, rotateAbout
Set appRef = CreateObject("Illustrator.Application")

[code]....
 
not all, but all elements i am interested in are rotated - it would be better if really all elements would be rotated the elements are rotated around 'aiTransformDocumentOrigin' ... i would prefer if they are rotated around 'middle of document'.

View 3 Replies View Related

Xara :: How To Change Page Size

Mar 3, 2012

In XP&G7, my "Selector" tool has become the "Page Size" tool and I can't select anything. It just changes my page size. What did I do??

View 9 Replies View Related

Illustrator Scripting :: Change Color Of Text Frames On Active Layer?

Mar 3, 2013

Okay my script to change text frame color changes the color of all text frames hidden or not.

I need it to only change visible text frames.
 
if ( app.documents.length > 0 ) {
newCMYKColor = new CMYKColor();
newCMYKColor.black = 0;
newCMYKColor.cyan = 0;
newCMYKColor.magenta = 0;
newCMYKColor.yellow = 0;
 
[Code]...
 
How to go about making it only change the color of text frames on the active layer? In the final script I will hide all other layers so if it could be done by a visible attribute more easily that would work just as well.

View 4 Replies View Related

CorelDRAW Graphics Suite X5 :: Change Of One Page Size?

Apr 27, 2011

I am currently preparing a brochure and need to have one page (of six) in DIN A3 instead of A4 like the others. But I find no possibility to change just the page I need into A3.

View 2 Replies View Related

InDesign :: Moving A Page In Document The Master Page Elements No Longer Display On Screen Or In Print

Mar 14, 2014

After moving a page in my document the master page elements no longer display on screen or in print. If I move the page to a different location in the document the master displays but if it is in the specific position that it needs to be it will not display. The document has multiple Masters and others do work on the page but the one that I need will not. I've tried deleting the page and adding a new one and that does not fix the problem. I've checked and "Hide Master Items" is not checked. The page in question is in position 48 with F-Master applied. If I move it to position 49 it works, 50, it works, 51, or any other it works. If I apply a different master to the page, it works. If I delete the page, add a new page and apply F-Master it still does not work. The only page that this problem is happening on is page 48.

View 1 Replies View Related

CorelDRAW Graphics Suite X6 :: Page Number / Font Size Change When Save To X5

May 19, 2012

Page No. font size change when save a cdr file from corel x6 to x5

see images

Download this image here [URL] ..........

View 2 Replies View Related

AutoCAD Print / Plot :: HP Designjet 1055cm And Acrobat X - Cannot Change Page Size

Mar 15, 2011

Printing pdf's to an HP Designjet 1055 using the new Acrobat X version. I can't change the page size from 8.5x11and nothing comes out at the 1055. Works fine to our Xerox 6204 printers. Looks like I could be going back to Acrobat 9.4...

View 3 Replies View Related

Lightroom :: Change Page Setup - Print Module Defaults To Letter Size

Mar 11, 2014

I have a set of Lightroom Print templates that I am trying to use, that are all for a 4x6 print.  I can't get it to work because my page setup in the print module defaults to letter size.  When I go in and change the page setup, it messes up the template and it gets all jumbled.  Then when I go on to the next template, it switches back to letter size again.  I want to create and hold a 4x6 canvas so these templates can either be saved to a 4x6 .jpg or printed on 4x6 paper.  I know I can save a printer and page layout as part of a template by clicking the "update settings" once I have it all as i want it, but I can't even get that far because it messes up the template as soon as I change the page settings to 4x6. How do I get the canvas to 4x6 on templates that are already created so I can save them as a 4x6 .jpg or print to 4x6 paper?
 
I even just installed a printer that only prints 4x6 to see, but again, when I change the page layout it completely messes up the template.

View 1 Replies View Related

AutoCAD Inventor :: Change Text Size Of A TextBox Object In A Part Document Sketch

Oct 3, 2008

This code works with no errors but does not change the text size. A user can over ride the text size (Font size) so I'm hoping it is possible thru code.

Dim oSketch As Inventor.Sketch
Set oSketch = oPartDoc.ComponentDefinition.Sketches("Sketch1")
Dim oText As Inventor.TextBox
Set oText = oSketch.TextBoxes.AddByRectangle(pnt1, pnt2)
oText.Style.FontSize = 0.1

View 3 Replies View Related

CorelDRAW X6 :: Getting Active Document Units Via VBA

Sep 3, 2013

Have been working on a little something and would like to know what units the user is using in their document. Basically what is selected here:

The thing is, no matter what is there (and while all other menus and such use the units) Active Document.unit stubbornly returns inches. Is there a way to get the proper ones using VBA?

View 3 Replies View Related

Illustrator :: How To Edit New Document Size Presets

Jul 3, 2012

When I go to create a new Document in Illustrator I'll select a default document type like : Mobile and Devices. Then I go down to the different sizes and bam. The problem. I can't pick a default size that "I" want to use. Yes there are preset sizes but none of them are the ones I want to use. Ok there has to be a text file or something that lets me edit/add new document sizes to illustrator. It shouldn't be this hard. I don't own CS6. I'm on an older version of Illustrator right now. I don't know if you guys fixed this in CS6. But it should be like photoshop or indesign. Why it's different baffles me.
 
This is a JDI if there ever is one. Make all presets in all programs the same (editing wise) and if possible make a preset manager that allows for one preset to be added or edited and all apps see these presets.

View 2 Replies View Related

Illustrator :: Why Can't Create Custom Size In New Document In CS4

Jul 26, 2013

I just recently re-installed CS4 onto another computer and now I can't select "Custom" in the size when creating a new document.

View 1 Replies View Related

AutoCAD .NET :: How To Stop Changing Active Document

Jan 24, 2013

How can I stop changing active document? I was thinking I could use this, but I don't know how to cancel it in the event handler:
 
AcadApp.DocumentManager.DocumentToBeActivated += new DocumentCollectionEventHandler(DocumentManager_DocumentToBeActivated);static void DocumentManager_DocumentToBeActivated(object sender, DocumentCollectionEventArgs e){ // Messagebox to ask if user are sure bool AreYouSureYouWantToChangeActiveFile = MessageBox.... if(!AreYouSureYouWantToChangeActiveFile) //cancel change active file somehow...???}

View 6 Replies View Related

AutoCAD .NET :: Turn Off / On All Layers In Active Document

Jan 5, 2014

I would like to turn off all the existing layers in active document. I have found in developer's guide how to turn off one layer with specified layer name but can not apply it on all layers with any layername.

I tried to get all the Object ID's in layer table and then for each object turn layer off but seems that it does not work.
 
<CommandMethod("FilterLayers")> _Public Sub FilterLayers()'' Get the current document and databaseDim acDoc As Document = Application.DocumentManager.MdiActiveDocumentDim acCurDb As Database = acDoc.Database'' Start a transactionUsing acTrans As Transaction = acCurDb.TransactionManager.StartTransaction()'' Open the Layer table for readDim LayerTable As LayerTable = acTrans.GetObject(acCurDb.LayerTableId, OpenMode.ForRead)Dim LayerTableRecord As LayerTableRecord = acTrans.GetObject(LayerTable.ObjectId, OpenMode.ForWrite)For Each ObjectId In LayerTableLayerTableRecord.IsOff = TrueNext'' Save the changes and dispose of the transactionacTrans.Commit()End UsingEnd Sub

View 3 Replies View Related

InDesign :: Add Page Numbers To 200 Page Document?

Feb 4, 2014

I'm attempting to add page numbers to a 200 page document with no success. How do I add page numbers? This should be a simple process.

View 1 Replies View Related

Illustrator :: How To Make Canvas The Size Of A4 Page

May 12, 2013

Im not even sure if Illustrator is the program or if i should use Indesign but im trying to create a single folded wedding invitation and be able to print on both sides. i want the invitation to be 14cm x 14cm and like i mentioned open up like a card and print on the front and on in the inside. Can you pleasssseeee direct me to some instructions or tell me which program would be best to do this. Im guessing that since its smaller than an A4 page size then i will need to cut it down after printing. To be able to do this do i need to make the canvas the size of a A4 page and then put my size of the invitation on this??

View 2 Replies View Related

Illustrator :: Document Size Limitations - Truck Advertizing

Sep 10, 2012

I've currently undertaken a project for truck design. They have requested for the final design to be 10% of the final size at 300 dpi and they will be using a large format printer, so no panel printing.

Here's the problem- even at 10% it is too large for the document restrictions.
 
The 24 ton truck at 10% of the final size is 1,278 meters by 228 meters.
 
All my Adobe programs won't even let me touch this final size, they limit me completely.
 
How do I create a final output size of 1,278 meters with the preset limitations and keeping a final output of 300 dpi?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved