共用方式為


PrintingProperties Class

Printing Properties.When the object is serialized out as xml, its qualified name is p:prnPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Presentation.PrintingProperties

Namespace:  DocumentFormat.OpenXml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class PrintingProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As PrintingProperties
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class PrintingProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • ExtensionList <p:extLst>

[ISO/IEC 29500-1 1st Edition]

19.2.1.28 prnPr (Printing Properties)

This element specifies the default printing properties associated with this presentation document.

Parent Elements

presentationPr (§19.2.1.27)

Child Elements

Subclause

extLst (Extension List)

§19.2.1.12

Attributes

Description

clrMode (Print Color Mode)

Specifies the color mode to be used when printing.

The possible values for this attribute are defined by the ST_PrintColorMode simple type (§19.7.11).

frameSlides (Frame slides when printing)

Specifies whether slides should be framed when printing. When framed, an outline border is printed for each slide.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

hiddenSlides (Print Hidden Slides)

Specifies whether hidden slides should be printed.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

prnWhat (Print Output)

Specifies what the default print output is in terms of content layout.

The possible values for this attribute are defined by the ST_PrintWhat simple type (§19.7.12).

scaleToFitPaper (Scale to Fit Paper when printing)

Specifies whether the print output should be scaled to fit the paper being used.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_PrintProperties) is located in §A.3. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

PrintingProperties Members

DocumentFormat.OpenXml.Presentation Namespace