本文提供了使用Node.js通过C++以编程方式设置Excel工作表页面选项的示例代码。设置页面方向、缩放比例、页数适应选项、纸张大小、打印质量、首页编号。...(8-1/2 in. x 11 in.) PaperLetterSmall Letter Small (8-1/2 in....Legal (8-1/2 in. x 14 in.) PaperStatement Statement (5-1/2 in. x 8-1/2...
Style.baseStyleName property. Gets/sets the name of the style this style is based on....MyStyle Alias 1,MyStyle Alias 2". // If a style's name has multiple..."MyStyle Alias 1" , "MyStyle Alias 2" ]); expect ( style . baseStyleName...
Discover the Style Equals method for comparing built-in styles. Understand linked and next paragraph styles for enhanced formatting and design efficiency....MyStyle Alias 1,MyStyle Alias 2". // If a style's name has multiple..."MyStyle Alias 1" , "MyStyle Alias 2" }, style . Aliases ); Assert...
Discover the MailMergeRegionInfo EndField property, which efficiently returns the end field for your data regions, enhancing your document automation.... AreEqual ( 2 , topRegions . Count ); Assert...Regions ; Assert . AreEqual ( 2 , nestedRegions . Count ); Assert...
ChartDataLabelCollection.count property. Returns the number of [ChartDataLabel](../../chartdatalabel/) in this collection....toEqual ( "Series 2" ); expect ( chart . series . at ( 2 ). name ).... at ( 1 ). dataLabels . at ( 2 ); dataLabel . format . fill ...
Style.base_style_name property. Gets/sets the name of the style this style is based on....MyStyle Alias 1,MyStyle Alias 2". # If a style's name has multiple...'MyStyle Alias 1' , 'MyStyle Alias 2' ], style . aliases ) self . assertEqual...
Document.lastSection property. Gets the last section in the document.... toEqual ( 2 ); // Each section has its own...pageSetup . textColumns . setCount ( 2 ); builder . writeln ( "Column...
Style.aliases property. Gets all aliases of this style...MyStyle Alias 1,MyStyle Alias 2". // If a style's name has multiple..."MyStyle Alias 1" , "MyStyle Alias 2" ]); expect ( style . baseStyleName...