PublisherShape
OfficeIMO.Publisher
An immutable vector-artwork view owned by one document or master page. Text and artwork can share the same publication object identifier.
Inheritance
- object
- PublisherShape
Usage
Explore 2 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.
Returned or exposed by 2
- Method PublisherDocument.AddShape
- Property PublisherPage.Shapes
Methods
public OfficeShape CreateShape() #Creates a detached shared shape descriptor for supported editable artwork. Editing this copy does not change the publication.
Returns
OfficeShapeExceptions
NotSupportedException– The artwork has no qualified editable geometry and paint model. Its rendered approximation remains available through the page drawing.
Inherited Methods
Properties
public uint Id { get; } #Stable object identifier scoped to the publication; a text-capable shape shares this identifier with its text frame.
public uint PageId { get; } #Owning document or master page. Applied master artwork remains listed on its master.
public double X { get; } #Left edge of the unrotated frame in page-local points.
public double Width { get; } #Logical frame width in points. A vertical line has zero width.
public double Height { get; } #Logical frame height in points. A horizontal line has zero height.
public OfficeTransform PageTransform { get; } #Maps shape-local points to page-local points, including recovered object and ancestor transforms.
public bool HasPlacement { get; } #Whether usable native or authored page placement is available. False means the coordinate values must not be treated as recovered geometry.
public bool CanEdit { get; } #Whether bounds and basic solid paint can be edited. Unsupported artwork retains its existing reading and rendering behavior.
public string? EditLimitation { get; } #Reason the artwork is inspection-only, or null for supported edits.