Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PublisherPage

OfficeIMO.Publisher

Namespace
OfficeIMO.Publisher
Assembly
OfficeIMO.Publisher
Source revision
0eef6a5756b9 with working tree changes
Modifiers
sealed

An immutable current document or master page. Coordinates and dimensions are points, with a local top-left origin.

Inheritance

  • object
  • PublisherPage

Usage

Explore 5 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public OfficeDrawing CreateDrawing() #

Creates a detached drawing snapshot, including the applied master. Changes to this copy do not edit the publication.

Returns

OfficeDrawing

Properties

public uint Id { get; } #

Stable publication page identifier, shared with the publication's object and story identity space.

public bool HasNativeOrigin { get; } #

Whether this page definition was recovered from the native source. Adding content or changing its applied master retains this provenance.

public string Name { get; } #

Stored page or master display name; empty when unnamed. Native records without a display-name field retain their short page code. Application-generated placeholder labels are not synthesized.

public uint? MasterPageId { get; } #

Current applied master page identifier, or null when none applies, including native pages that suppress master formatting. A suppressed source can retain a latent native reference separately.

public PublisherMasterPageSide? MasterSide { get; } #

Registration of this master definition; null for document pages or an unqualified native master layout. Applied positions can differ from definition coordinates for left/right masters.

public IReadOnlyList<PublisherTextFrame> TextFrames { get; } #

Current text frames owned by this page, including authored continuation frames. Frames inherited from a master are listed on that master page.

public IReadOnlyList<PublisherTable> Tables { get; } #

Current tables owned by this page, including authored tables. Tables inherited from a master are listed on that master page.

public IReadOnlyList<PublisherPicture> Pictures { get; } #

Picture placements owned by this page, in recovered drawing order. Pictures inherited from a master are listed on that master.

public IReadOnlyList<PublisherShape> Shapes { get; } #

Vector artwork owned by this page, in drawing order. Text-capable artwork shares its ID and placement with its text frame; inherited artwork remains listed on the master.

public IReadOnlyList<uint> ObjectIds { get; } #

Owned object identifiers in back-to-front drawing order. Text-capable artwork appears once even when it also has a text-frame view. Applied master objects remain on the master page.

public double Width { get; } #

Page width in points.

public double Height { get; } #

Page height in points.