Table of Contents

XlsFile.PrintOptionsInitializedFromPrinter Property

If this property is false, then Excel has not read the printer options from the printer, and ExcelFile.PrintLandscape, ExcelFile.PrintPaperSize, ExcelFile.PrintScale, ExcelFile.PrintXResolution, ExcelFile.PrintYResolution and ExcelFile.PrintCopies will be ignored. This property will change automatically to true if you manually change any of the above properties.

Remarks

You shouldn't have to set this property, as it is set automatically to true when you set the others like ExcelFile.PrintLandscape. But if you set it to true, it will not only set the print options to initialized, but also initialize all uninitialized properties like ExcelFile.PrintLandscape to default values.

Syntax

Namespace: FlexCel.XlsAdapter

public override Boolean PrintOptionsInitializedFromPrinter { get; set; }

See also