Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / ViewerPreferences Class
Properties Methods

In This Topic
    ViewerPreferences Class Members
    In This Topic

    The following tables list the members exposed by ViewerPreferences.

    Public Properties
     NameDescription
    Public PropertyGets or sets whether to position the document's window in the center of the screen.  
    Public PropertyGets or sets the predominant reading order for text.  
    Public PropertyGets or sets whether the window's title bar should display the document title taken from the Title entry of the document information dictionary.

    Default value: false.

     
    Public PropertyGets the owning GcPdfDocument object.  
    Public PropertySpecifies the page scaling option to be selected when a print dialog is displayed for this document.  
    Public PropertyGets or sets whether to resize the document's window to fit the size of the first displayed page.  
    Public PropertyGets or sets whether to hide the viewer menu bar when the document is active.  
    Public PropertyGets or sets whether to hide the viewer tool bars when the document is active.  
    Public PropertyGets or sets whether to hide user interface elements in the document's window (such as scroll bars and navigation controls), leaving only the document's contents displayed.

    Default value: false.

     
    Public PropertySpecifies how to display the document on exiting full-screen mode. Ignored unless PageMode is PageMode.FullScreen.  
    Public Property(PDF 1.7) The number of copies to be printed when the print dialog is opened for this file. Supported values are the integers 2 through 5. Values outside this range are ignored.  
    Public PropertyGets the PDF object ID. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public PropertyGets or sets the page layout to be used when the document is opened.  
    Public PropertyGets or sets how the document should be displayed when opened.  
    Public PropertyGets the underlying GrapeCity.Documents.Pdf.Spec.IPdfDict. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfDictWrapper)
    Public PropertyGets the underlying GrapeCity.Documents.Pdf.Spec.IPdfObject. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapper<IPdfDict>)
    Public Property(PDF 1.7) A flag specifying whether the PDF page size is used to select the input paper tray.  
    Public PropertyGets or sets the name of the page boundary representing the area of a page to be rendered when printing the document.

    Default value: CropBox.

     
    Public PropertyGets or sets the name of the page boundary to which the contents of a page are to be clipped when printing the document.

    Default value: CropBox.

     
    Public Property(PDF 1.7) The page numbers used to initialize the print dialog box when the file is printed. This is a comma-delimited list of individual page numbers and/or dash-delimited page ranges.

    Setting this property to a value that cannot be parsed will be ignored.

     
    Public PropertySpecifies the page scaling option to be selected when a print dialog is displayed for this document.  
    Public PropertyGets or sets the name of the page boundary representing the area of a page to be displayed when viewing the document on the screen.

    Default value: CropBox.

     
    Public PropertyGets or sets the name of the page boundary to which the contents of a page are to be clipped when viewing the document on the screen.

    Default value: CropBox.

     
    Top
    Public Methods
     NameDescription
    Public MethodGets the System.IO.Stream object containing the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. Note! The stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodGets the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodGets the GrapeCity.Documents.Pdf.Spec.PdfStreamInfo object containing the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. Note! The stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodResets properties of this ViewerPreferences to default values.  
    Top
    See Also