All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.TxtLoadOptions.html Maven / Gradle / Ivy






TxtLoadOptions




com.aspose.cells
Class TxtLoadOptions

java.lang.Object
  extended by LoadOptions
      extended by AbstractTextLoadOptions
          extended by com.aspose.cells.TxtLoadOptions

public class TxtLoadOptions 
extends AbstractTextLoadOptions

Represents the options for loading text file.


Constructor Summary
TxtLoadOptions()
           Creates the options for loading text file.
TxtLoadOptions(int loadFormat)
           Creates the options for loading text file.
 
Property Getters/Setters Summary
booleangetAutoFilter()→ inherited from LoadOptions
voidsetAutoFilter(boolean)
           Indicates whether auto filtering the data when loading the files.
AutoFitterOptionsgetAutoFitterOptions()→ inherited from LoadOptions
voidsetAutoFitterOptions(AutoFitterOptions)
           Gets and sets the auto fitter options
booleangetCheckDataValid()→ inherited from LoadOptions
voidsetCheckDataValid(boolean)
           Check whether data is valid in the template file.
booleangetCheckExcelRestriction()→ inherited from LoadOptions
voidsetCheckExcelRestriction(boolean)
           Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K such as by Cell.PutValue(string), if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file.
booleangetConvertDateTimeData()→ inherited from AbstractTextLoadOptions
voidsetConvertDateTimeData(boolean)
           Gets or sets a value that indicates whether the string in text file is converted to date data.
booleangetConvertNumericData()→ inherited from AbstractTextLoadOptions
voidsetConvertNumericData(boolean)
           Gets or sets a value that indicates whether the string in text file is converted to numeric data.
DefaultStyleSettingsgetDefaultStyleSettings()→ inherited from LoadOptions
           Gets the default style settings for initializing styles of the workbook
com.aspose.cells.EncodinggetEncoding()→ inherited from AbstractTextLoadOptions
voidsetEncoding(com.aspose.cells.Encoding)
           Gets and sets the default encoding. Only applies for csv file.
booleangetExtendToNextSheet()
voidsetExtendToNextSheet(boolean)
           Whether extends data to next sheet when the rows or columns of data exceed limit. If this property is true, extra data will be extended to next sheet behind current one(if current sheet is the last one, new sheet will be appended to current workbook). If this property is false, the data exceeds limit will be ignored. Default is false;
IndividualFontConfigsgetFontConfigs()→ inherited from LoadOptions
voidsetFontConfigs(IndividualFontConfigs)
           Gets and sets individual font configs. Only works for the Workbook which uses this LoadOptions to load.>
booleanhasFormula()
voidsetHasFormula(boolean)
           Indicates whether the text is formula if it starts with "=".
booleanhasTextQualifier()
voidsetHasTextQualifier(boolean)
           Whether there is text qualifier for cell value. Default is true.
booleangetIgnoreNotPrinted()→ inherited from LoadOptions
voidsetIgnoreNotPrinted(boolean)
           Ignore the data which are not printed if directly printing the file
AbstractInterruptMonitorgetInterruptMonitor()→ inherited from LoadOptions
voidsetInterruptMonitor(AbstractInterruptMonitor)
           Gets and sets the interrupt monitor.
booleanisMultiEncoded()
voidsetMultiEncoded(boolean)
           True means that the file contains several encoding.
booleangetKeepPrecision()→ inherited from AbstractTextLoadOptions
voidsetKeepPrecision(boolean)
           Indicates whether not parsing a string value if the length is 15.
booleangetKeepUnparsedData()→ inherited from LoadOptions
voidsetKeepUnparsedData(boolean)
           Whether keep the unparsed data in memory for the Workbook when it is loaded from template file. Default is true.
intgetLanguageCode()→ inherited from LoadOptions
voidsetLanguageCode(int)
           Gets or sets the user interface language of the Workbook version based on CountryCode that has saved the file. The value of the property is CountryCode integer constant.
LightCellsDataHandlergetLightCellsDataHandler()→ inherited from LoadOptions
voidsetLightCellsDataHandler(LightCellsDataHandler)
           The data handler for processing cells data when reading template file.
LoadFiltergetLoadFilter()→ inherited from LoadOptions
voidsetLoadFilter(LoadFilter)
           The filter to denote how to load data.
intgetLoadFormat()→ inherited from LoadOptions
           Gets the load format. The value of the property is LoadFormat integer constant.
intgetLoadStyleStrategy()→ inherited from AbstractTextLoadOptions
voidsetLoadStyleStrategy(int)
           Indicates the strategy to apply style for parsed values when converting string value to number or datetime. The value of the property is TxtLoadStyleStrategy integer constant.
java.util.LocalegetLocale()→ inherited from LoadOptions
voidsetLocale(java.util.Locale)
           Gets and sets the Locale used for workbook at the time the file was loaded.
intgetMemorySetting()→ inherited from LoadOptions
voidsetMemorySetting(int)
           Gets or sets the memory usage options. The value of the property is MemorySetting integer constant.
booleangetParsingFormulaOnOpen()→ inherited from LoadOptions
voidsetParsingFormulaOnOpen(boolean)
           Indicates whether parsing the formula when reading the file.
booleangetParsingPivotCachedRecords()→ inherited from LoadOptions
voidsetParsingPivotCachedRecords(boolean)
           Indicates whether parsing pivot cached records when loading the file. The default value is false.
java.lang.StringgetPassword()→ inherited from LoadOptions
voidsetPassword(java.lang.String)
           Gets and set the password of the workbook.
com.aspose.cells.ICustomParser[]getPreferredParsers()
voidsetPreferredParsers(com.aspose.cells.ICustomParser[])
           Gets and sets preferred value parsers for loading text file.
intgetRegion()→ inherited from LoadOptions
voidsetRegion(int)
           Gets or sets the system regional settings based on CountryCode at the time the file was loaded. The value of the property is CountryCode integer constant.
chargetSeparator()
voidsetSeparator(char)
           Gets and sets character separator of text file.
java.lang.StringgetSeparatorString()
voidsetSeparatorString(java.lang.String)
           Gets and sets a string value as separator.
java.lang.StringgetStandardFont()→ inherited from LoadOptions
voidsetStandardFont(java.lang.String)
           Sets the default standard font name
doublegetStandardFontSize()→ inherited from LoadOptions
voidsetStandardFontSize(double)
           Sets the default standard font size.
chargetTextQualifier()
voidsetTextQualifier(char)
           Specifies the text qualifier for cell values. Default qualifier is '"'.
booleangetTreatConsecutiveDelimitersAsOne()
voidsetTreatConsecutiveDelimitersAsOne(boolean)
           Whether consecutive delimiters should be treated as one.
booleangetTreatQuotePrefixAsValue()
voidsetTreatQuotePrefixAsValue(boolean)
           Indicates whether the leading single quote sign should be taken as part of the value of one cell. Default is true. If it is false, the leading single quote will be removed from corresponding cell's value and Style.QuotePrefix will be set as true for the cell.
IWarningCallbackgetWarningCallback()→ inherited from LoadOptions
voidsetWarningCallback(IWarningCallback)
           Gets or sets warning callback.
 
Method Summary
voidsetPaperSize(int type)→ inherited from LoadOptions
           Sets the default print paper size from default printer's setting.
 

Constructor Detail

TxtLoadOptions

public TxtLoadOptions()
Creates the options for loading text file. The default load file type is CSV .

TxtLoadOptions

public TxtLoadOptions(int loadFormat)
Creates the options for loading text file.
Parameters:
loadFormat - A LoadFormat value. The loading format

Property Getters/Setters Detail

getSeparator/setSeparator

public char getSeparator() / public void setSeparator(char value)
Gets and sets character separator of text file.

setSeparator

public void setSeparator(char value)
Gets and sets character separator of text file.

getSeparatorString/setSeparatorString

public java.lang.String getSeparatorString() / public void setSeparatorString(java.lang.String value)
Gets and sets a string value as separator.

setSeparatorString

public void setSeparatorString(java.lang.String value)
Gets and sets a string value as separator.

isMultiEncoded/setMultiEncoded

public boolean isMultiEncoded() / public void setMultiEncoded(boolean value)
True means that the file contains several encoding.

setMultiEncoded

public void setMultiEncoded(boolean value)
True means that the file contains several encoding.

getPreferredParsers/setPreferredParsers

public com.aspose.cells.ICustomParser[] getPreferredParsers() / public void setPreferredParsers(com.aspose.cells.ICustomParser[] value)
Gets and sets preferred value parsers for loading text file. parsers[0] is the parser will be used for the first column in text template file, parsers[1] is the parser will be used for the second column, ...etc. The last one(parsers[parsers.length-1]) will be used for all other columns start from parsers.length-1. If one item is null, the corresponding column will be parsed by the default parser of Aspose.Cells.

setPreferredParsers

public void setPreferredParsers(com.aspose.cells.ICustomParser[] value)
Gets and sets preferred value parsers for loading text file. parsers[0] is the parser will be used for the first column in text template file, parsers[1] is the parser will be used for the second column, ...etc. The last one(parsers[parsers.length-1]) will be used for all other columns start from parsers.length-1. If one item is null, the corresponding column will be parsed by the default parser of Aspose.Cells.

hasFormula/setHasFormula

public boolean hasFormula() / public void setHasFormula(boolean value)
Indicates whether the text is formula if it starts with "=".

setHasFormula

public void setHasFormula(boolean value)
Indicates whether the text is formula if it starts with "=".

hasTextQualifier/setHasTextQualifier

public boolean hasTextQualifier() / public void setHasTextQualifier(boolean value)
Whether there is text qualifier for cell value. Default is true.

setHasTextQualifier

public void setHasTextQualifier(boolean value)
Whether there is text qualifier for cell value. Default is true.

getTextQualifier/setTextQualifier

public char getTextQualifier() / public void setTextQualifier(char value)
Specifies the text qualifier for cell values. Default qualifier is '"'. When setting this property, HasTextQualifier will become true automatically.

setTextQualifier

public void setTextQualifier(char value)
Specifies the text qualifier for cell values. Default qualifier is '"'. When setting this property, HasTextQualifier will become true automatically.

getTreatConsecutiveDelimitersAsOne/setTreatConsecutiveDelimitersAsOne

public boolean getTreatConsecutiveDelimitersAsOne() / public void setTreatConsecutiveDelimitersAsOne(boolean value)
Whether consecutive delimiters should be treated as one.

setTreatConsecutiveDelimitersAsOne

public void setTreatConsecutiveDelimitersAsOne(boolean value)
Whether consecutive delimiters should be treated as one.

getTreatQuotePrefixAsValue/setTreatQuotePrefixAsValue

public boolean getTreatQuotePrefixAsValue() / public void setTreatQuotePrefixAsValue(boolean value)
Indicates whether the leading single quote sign should be taken as part of the value of one cell. Default is true. If it is false, the leading single quote will be removed from corresponding cell's value and Style.QuotePrefix will be set as true for the cell.

setTreatQuotePrefixAsValue

public void setTreatQuotePrefixAsValue(boolean value)
Indicates whether the leading single quote sign should be taken as part of the value of one cell. Default is true. If it is false, the leading single quote will be removed from corresponding cell's value and Style.QuotePrefix will be set as true for the cell.

getExtendToNextSheet/setExtendToNextSheet

public boolean getExtendToNextSheet() / public void setExtendToNextSheet(boolean value)
Whether extends data to next sheet when the rows or columns of data exceed limit. If this property is true, extra data will be extended to next sheet behind current one(if current sheet is the last one, new sheet will be appended to current workbook). If this property is false, the data exceeds limit will be ignored. Default is false;

setExtendToNextSheet

public void setExtendToNextSheet(boolean value)
Whether extends data to next sheet when the rows or columns of data exceed limit. If this property is true, extra data will be extended to next sheet behind current one(if current sheet is the last one, new sheet will be appended to current workbook). If this property is false, the data exceeds limit will be ignored. Default is false;

getEncoding/setEncoding

→ inherited from AbstractTextLoadOptions
public com.aspose.cells.Encoding getEncoding() / public void setEncoding(com.aspose.cells.Encoding value)
Gets and sets the default encoding. Only applies for csv file.

setEncoding

→ inherited from AbstractTextLoadOptions
public void setEncoding(com.aspose.cells.Encoding value)
Gets and sets the default encoding. Only applies for csv file.

getLoadStyleStrategy/setLoadStyleStrategy

→ inherited from AbstractTextLoadOptions
public int getLoadStyleStrategy() / public void setLoadStyleStrategy(int value)
Indicates the strategy to apply style for parsed values when converting string value to number or datetime. The value of the property is TxtLoadStyleStrategy integer constant.

setLoadStyleStrategy

→ inherited from AbstractTextLoadOptions
public void setLoadStyleStrategy(int value)
Indicates the strategy to apply style for parsed values when converting string value to number or datetime. The value of the property is TxtLoadStyleStrategy integer constant.

getConvertNumericData/setConvertNumericData

→ inherited from AbstractTextLoadOptions
public boolean getConvertNumericData() / public void setConvertNumericData(boolean value)
Gets or sets a value that indicates whether the string in text file is converted to numeric data.

setConvertNumericData

→ inherited from AbstractTextLoadOptions
public void setConvertNumericData(boolean value)
Gets or sets a value that indicates whether the string in text file is converted to numeric data.

getConvertDateTimeData/setConvertDateTimeData

→ inherited from AbstractTextLoadOptions
public boolean getConvertDateTimeData() / public void setConvertDateTimeData(boolean value)
Gets or sets a value that indicates whether the string in text file is converted to date data.

setConvertDateTimeData

→ inherited from AbstractTextLoadOptions
public void setConvertDateTimeData(boolean value)
Gets or sets a value that indicates whether the string in text file is converted to date data.

getKeepPrecision/setKeepPrecision

→ inherited from AbstractTextLoadOptions
public boolean getKeepPrecision() / public void setKeepPrecision(boolean value)
Indicates whether not parsing a string value if the length is 15.

setKeepPrecision

→ inherited from AbstractTextLoadOptions
public void setKeepPrecision(boolean value)
Indicates whether not parsing a string value if the length is 15.

getLoadFormat

→ inherited from LoadOptions
public int getLoadFormat()
Gets the load format. The value of the property is LoadFormat integer constant.

getPassword/setPassword

→ inherited from LoadOptions
public java.lang.String getPassword() / public void setPassword(java.lang.String value)
Gets and set the password of the workbook.

setPassword

→ inherited from LoadOptions
public void setPassword(java.lang.String value)
Gets and set the password of the workbook.

getParsingFormulaOnOpen/setParsingFormulaOnOpen

→ inherited from LoadOptions
public boolean getParsingFormulaOnOpen() / public void setParsingFormulaOnOpen(boolean value)
Indicates whether parsing the formula when reading the file. Only applies for Excel Xlsx, Xltx, Xltm and Xlsm file because the formulas in the files are stored with a string formula.

setParsingFormulaOnOpen

→ inherited from LoadOptions
public void setParsingFormulaOnOpen(boolean value)
Indicates whether parsing the formula when reading the file. Only applies for Excel Xlsx, Xltx, Xltm and Xlsm file because the formulas in the files are stored with a string formula.

getParsingPivotCachedRecords/setParsingPivotCachedRecords

→ inherited from LoadOptions
public boolean getParsingPivotCachedRecords() / public void setParsingPivotCachedRecords(boolean value)
Indicates whether parsing pivot cached records when loading the file. The default value is false. Only applies for Excel Xlsx, Xltx, Xltm , Xlsm and xlsb file

setParsingPivotCachedRecords

→ inherited from LoadOptions
public void setParsingPivotCachedRecords(boolean value)
Indicates whether parsing pivot cached records when loading the file. The default value is false. Only applies for Excel Xlsx, Xltx, Xltm , Xlsm and xlsb file

getLanguageCode/setLanguageCode

→ inherited from LoadOptions
public int getLanguageCode() / public void setLanguageCode(int value)
Gets or sets the user interface language of the Workbook version based on CountryCode that has saved the file. The value of the property is CountryCode integer constant.

setLanguageCode

→ inherited from LoadOptions
public void setLanguageCode(int value)
Gets or sets the user interface language of the Workbook version based on CountryCode that has saved the file. The value of the property is CountryCode integer constant.

getRegion/setRegion

→ inherited from LoadOptions
public int getRegion() / public void setRegion(int value)
Gets or sets the system regional settings based on CountryCode at the time the file was loaded. The value of the property is CountryCode integer constant.If you do not want to use the region saved in the file, please reset it after reading the file.

setRegion

→ inherited from LoadOptions
public void setRegion(int value)
Gets or sets the system regional settings based on CountryCode at the time the file was loaded. The value of the property is CountryCode integer constant.If you do not want to use the region saved in the file, please reset it after reading the file.

getLocale/setLocale

→ inherited from LoadOptions
public java.util.Locale getLocale() / public void setLocale(java.util.Locale value)
Gets and sets the Locale used for workbook at the time the file was loaded.

setLocale

→ inherited from LoadOptions
public void setLocale(java.util.Locale value)
Gets and sets the Locale used for workbook at the time the file was loaded.

getDefaultStyleSettings

→ inherited from LoadOptions
public DefaultStyleSettings getDefaultStyleSettings()
Gets the default style settings for initializing styles of the workbook

getStandardFont/setStandardFont

→ inherited from LoadOptions
public java.lang.String getStandardFont() / public void setStandardFont(java.lang.String value)
Sets the default standard font name NOTE: This member is now obsolete. Instead, please use DefaultStyleSettings. This property will be removed 12 months later since March 2022. Aspose apologizes for any inconvenience you may have experienced.

setStandardFont

→ inherited from LoadOptions
public void setStandardFont(java.lang.String value)
Sets the default standard font name NOTE: This member is now obsolete. Instead, please use DefaultStyleSettings. This property will be removed 12 months later since March 2022. Aspose apologizes for any inconvenience you may have experienced.

getStandardFontSize/setStandardFontSize

→ inherited from LoadOptions
public double getStandardFontSize() / public void setStandardFontSize(double value)
Sets the default standard font size. NOTE: This member is now obsolete. Instead, please use DefaultStyleSettings. This property will be removed 12 months later since March 2022. Aspose apologizes for any inconvenience you may have experienced.

setStandardFontSize

→ inherited from LoadOptions
public void setStandardFontSize(double value)
Sets the default standard font size. NOTE: This member is now obsolete. Instead, please use DefaultStyleSettings. This property will be removed 12 months later since March 2022. Aspose apologizes for any inconvenience you may have experienced.

getInterruptMonitor/setInterruptMonitor

→ inherited from LoadOptions
public AbstractInterruptMonitor getInterruptMonitor() / public void setInterruptMonitor(AbstractInterruptMonitor value)
Gets and sets the interrupt monitor.

setInterruptMonitor

→ inherited from LoadOptions
public void setInterruptMonitor(AbstractInterruptMonitor value)
Gets and sets the interrupt monitor.

getIgnoreNotPrinted/setIgnoreNotPrinted

→ inherited from LoadOptions
public boolean getIgnoreNotPrinted() / public void setIgnoreNotPrinted(boolean value)
Ignore the data which are not printed if directly printing the file Only for xlsx file.

setIgnoreNotPrinted

→ inherited from LoadOptions
public void setIgnoreNotPrinted(boolean value)
Ignore the data which are not printed if directly printing the file Only for xlsx file.

getCheckDataValid/setCheckDataValid

→ inherited from LoadOptions
public boolean getCheckDataValid() / public void setCheckDataValid(boolean value)
Check whether data is valid in the template file.

setCheckDataValid

→ inherited from LoadOptions
public void setCheckDataValid(boolean value)
Check whether data is valid in the template file.

getCheckExcelRestriction/setCheckExcelRestriction

→ inherited from LoadOptions
public boolean getCheckExcelRestriction() / public void setCheckExcelRestriction(boolean value)
Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K such as by Cell.PutValue(string), if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file.

setCheckExcelRestriction

→ inherited from LoadOptions
public void setCheckExcelRestriction(boolean value)
Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K such as by Cell.PutValue(string), if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file.

getKeepUnparsedData/setKeepUnparsedData

→ inherited from LoadOptions
public boolean getKeepUnparsedData() / public void setKeepUnparsedData(boolean value)
Whether keep the unparsed data in memory for the Workbook when it is loaded from template file. Default is true. For scenarios that user only needs to read some contents from template file and does not need to save the workbook back, set this property as false may improve performance, especially when using it together with some kind of LoadFilter,

setKeepUnparsedData

→ inherited from LoadOptions
public void setKeepUnparsedData(boolean value)
Whether keep the unparsed data in memory for the Workbook when it is loaded from template file. Default is true. For scenarios that user only needs to read some contents from template file and does not need to save the workbook back, set this property as false may improve performance, especially when using it together with some kind of LoadFilter,

getLoadFilter/setLoadFilter

→ inherited from LoadOptions
public LoadFilter getLoadFilter() / public void setLoadFilter(LoadFilter value)
The filter to denote how to load data.

setLoadFilter

→ inherited from LoadOptions
public void setLoadFilter(LoadFilter value)
The filter to denote how to load data.

getLightCellsDataHandler/setLightCellsDataHandler

→ inherited from LoadOptions
public LightCellsDataHandler getLightCellsDataHandler() / public void setLightCellsDataHandler(LightCellsDataHandler value)
The data handler for processing cells data when reading template file.

setLightCellsDataHandler

→ inherited from LoadOptions
public void setLightCellsDataHandler(LightCellsDataHandler value)
The data handler for processing cells data when reading template file.

getMemorySetting/setMemorySetting

→ inherited from LoadOptions
public int getMemorySetting() / public void setMemorySetting(int value)
Gets or sets the memory usage options. The value of the property is MemorySetting integer constant.

setMemorySetting

→ inherited from LoadOptions
public void setMemorySetting(int value)
Gets or sets the memory usage options. The value of the property is MemorySetting integer constant.

getWarningCallback/setWarningCallback

→ inherited from LoadOptions
public IWarningCallback getWarningCallback() / public void setWarningCallback(IWarningCallback value)
Gets or sets warning callback.

setWarningCallback

→ inherited from LoadOptions
public void setWarningCallback(IWarningCallback value)
Gets or sets warning callback.

getAutoFitterOptions/setAutoFitterOptions

→ inherited from LoadOptions
public AutoFitterOptions getAutoFitterOptions() / public void setAutoFitterOptions(AutoFitterOptions value)
Gets and sets the auto fitter options Only for xlsx ,spreadsheetML file now.

setAutoFitterOptions

→ inherited from LoadOptions
public void setAutoFitterOptions(AutoFitterOptions value)
Gets and sets the auto fitter options Only for xlsx ,spreadsheetML file now.

getAutoFilter/setAutoFilter

→ inherited from LoadOptions
public boolean getAutoFilter() / public void setAutoFilter(boolean value)
Indicates whether auto filtering the data when loading the files. Sometimes although autofilter is set, the corresponding rows is not hidden in the file. Now only works for SpreadSheetML file.

setAutoFilter

→ inherited from LoadOptions
public void setAutoFilter(boolean value)
Indicates whether auto filtering the data when loading the files. Sometimes although autofilter is set, the corresponding rows is not hidden in the file. Now only works for SpreadSheetML file.

getFontConfigs/setFontConfigs

→ inherited from LoadOptions
public IndividualFontConfigs getFontConfigs() / public void setFontConfigs(IndividualFontConfigs value)
Gets and sets individual font configs. Only works for the Workbook which uses this LoadOptions to load.>

setFontConfigs

→ inherited from LoadOptions
public void setFontConfigs(IndividualFontConfigs value)
Gets and sets individual font configs. Only works for the Workbook which uses this LoadOptions to load.>

Method Detail

setPaperSize

→ inherited from LoadOptions
public void setPaperSize(int type)
Sets the default print paper size from default printer's setting. If there is no setting about paper size,MS Excel will use default printer's setting.
Parameters:
type - A PaperSizeType value. The default paper size.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy