alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class PrintSetupRecord

    Stores print setup options.

    Inheritance
    object
    BiffRecordRaw
    PrintSetupRecord
    Implements
    ICloneable
    IBiffStorage
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.XlsIO.Parser.Biff_Records
    Assembly: Syncfusion.XlsIO.NET.dll
    Syntax
    [CLSCompliant(false)]
    [Biff(TBIFFRecord.PrintSetup)]
    public class PrintSetupRecord : BiffRecordRaw, ICloneable, IBiffStorage

    Constructors

    PrintSetupRecord()

    Default constructor

    Declaration
    public PrintSetupRecord()

    PrintSetupRecord(Stream, out int)

    Read / initialize constructor.

    Declaration
    public PrintSetupRecord(Stream stream, out int itemSize)
    Parameters
    Type Name Description
    Stream stream

    Stream from which record data should be read.

    int itemSize

    Size of read item.

    Exceptions
    Type Condition
    ArgumentNullException

    If stream is not specified.

    ApplicationException

    If stream does not support read or seek operations.

    PrintSetupRecord(int)

    Reserved for record's internal data array.

    Declaration
    public PrintSetupRecord(int iReserve)
    Parameters
    Type Name Description
    int iReserve

    Amount of bytes for data array.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    If amount of bytes requested is less than zero.

    Fields

    ErrorBitMask

    Bit mask for error print options.

    Declaration
    public const ushort ErrorBitMask = 3072
    Field Value
    Type
    ushort

    ErrorStartBit

    Start bit of error print options in m_usOptions.

    Declaration
    public const int ErrorStartBit = 10
    Field Value
    Type
    int

    Properties

    Copies

    Number of copies to print.

    Declaration
    public ushort Copies { get; set; }
    Property Value
    Type
    ushort

    FitHeight

    Fit worksheet height to this number of pages (0 = use as many as needed).

    Declaration
    public ushort FitHeight { get; set; }
    Property Value
    Type
    ushort

    FitWidth

    Fit worksheet width to this number of pages (0 = use as many as needed).

    Declaration
    public ushort FitWidth { get; set; }
    Property Value
    Type
    ushort

    FooterMargin

    Footer margin (IEEE floating-point value).

    Declaration
    public double FooterMargin { get; set; }
    Property Value
    Type
    double

    HResolution

    Print resolution in dpi.

    Declaration
    public ushort HResolution { get; set; }
    Property Value
    Type
    ushort

    HeaderMargin

    Header margin (IEEE floating-point value).

    Declaration
    public double HeaderMargin { get; set; }
    Property Value
    Type
    double

    IsDraft

    False for default print quality; True for draft quality.

    Declaration
    public bool IsDraft { get; set; }
    Property Value
    Type
    bool

    IsLeftToRight

    False to print pages in columns; True to print pages in rows.

    Declaration
    public bool IsLeftToRight { get; set; }
    Property Value
    Type
    bool

    IsNoColor

    False to print in color; True to print in black and white.

    Declaration
    public bool IsNoColor { get; set; }
    Property Value
    Type
    bool

    IsNoOrientation

    False if paper orientation setting is valid; True if paper orientation setting is not initialized.

    Declaration
    public bool IsNoOrientation { get; set; }
    Property Value
    Type
    bool

    IsNotLandscape

    False if landscape; True if portrait.

    Declaration
    public bool IsNotLandscape { get; set; }
    Property Value
    Type
    bool

    IsNotValidSettings

    True if paper size, scaling factor, paper orientation (portrait / landscape), print resolution, and number of copies are not initialized.

    Declaration
    public bool IsNotValidSettings { get; set; }
    Property Value
    Type
    bool

    IsNotes

    Indicates whether to print cell notes.

    Declaration
    public bool IsNotes { get; set; }
    Property Value
    Type
    bool

    IsPrintNotesAsDisplayed

    False if print notes as displayed; True if print notes are at the end of sheet.

    Declaration
    public bool IsPrintNotesAsDisplayed { get; set; }
    Property Value
    Type
    bool

    IsUsePage

    False for automatic page numbers; True to use starting page number.

    Declaration
    public bool IsUsePage { get; set; }
    Property Value
    Type
    bool

    MaximumRecordSize

    Read-only. Returns maximum possible size of record's internal data array.

    Declaration
    public override int MaximumRecordSize { get; }
    Property Value
    Type
    int
    Overrides
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.MaximumRecordSize

    MinimumRecordSize

    Read-only. Returns minimum possible size of record's internal data array.

    Declaration
    public override int MinimumRecordSize { get; }
    Property Value
    Type
    int
    Overrides
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.MinimumRecordSize

    PageStart

    Start page number.

    Declaration
    public short PageStart { get; set; }
    Property Value
    Type
    short

    PaperSize

    Paper size.

    Declaration
    public ushort PaperSize { get; set; }
    Property Value
    Type
    ushort

    PrintErrors

    Indicates how to print errors.

    Declaration
    public ExcelPrintErrors PrintErrors { get; set; }
    Property Value
    Type
    ExcelPrintErrors

    Scale

    Scaling factor in percent.

    Declaration
    public ushort Scale { get; set; }
    Property Value
    Type
    ushort

    VResolution

    Vertical print resolution in dpi.

    Declaration
    public ushort VResolution { get; set; }
    Property Value
    Type
    ushort

    Methods

    GetStoreSize(ExcelVersion)

    Size of the required storage space. Read-only.

    Declaration
    public override int GetStoreSize(ExcelVersion version)
    Parameters
    Type Name Description
    ExcelVersion version
    Returns
    Type
    int
    Overrides
    BiffRecordRaw.GetStoreSize(ExcelVersion)

    ParseStructure(DataProvider, int, int, ExcelVersion)

    Parse structure of record. Convert Data buffer to special values according to record specification.

    Declaration
    public override void ParseStructure(DataProvider provider, int iOffset, int iLength, ExcelVersion version)
    Parameters
    Type Name Description
    DataProvider provider

    Object that provides access to the data.

    int iOffset

    Offset to the record's data.

    int iLength

    Length of the record's data.

    ExcelVersion version

    Excel version used for infill.

    Overrides
    BiffRecordRaw.ParseStructure(DataProvider, int, int, ExcelVersion)

    Implements

    ICloneable
    IBiffStorage
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved