Skip to main content
Participant
March 30, 2012
Question

How to add custom page sizes?

  • March 30, 2012
  • 1 reply
  • 882 views

Hi,

I would like to add several custom page sizes to InDesign through SDK, so New Document dialog can use them to create document with those custom sizes.

Can anyone let me know how to do it?

When I search the InDesign SDK, I found some kPageSizesxxxServiceBoss, does it mean that K2ServiceProvider is the only way to do this?

Is there any interface API or Utility or Facade that I can call?

Thanks.

Cindy

This topic has been closed for replies.

1 reply

March 31, 2012

Hi Cindy

Check with ,

APIs

      IDocument

      IDocumentCommands

      IPageSetupPrefs

Sdk sample code  : SDKLayoutHelper::CreateDocument

Wang4181Author
Participant
April 1, 2012

Hi, thanks for the reply.

I do not need to do createDocument with custom page size.

I want to add custom page sizes through SDK when InDesign starts,

and later user can pick up the custom page size from new doc dialog when creating a new doc.

Please advise.

Thanks.

Cindy