aspose.words.WatermarkLayout enumeration. Defines layout of the watermark relative to the watermark center.... doc = aw . Document () # Add a plain text...watermark. text_watermark_options = aw . TextWatermarkOptions () te...
AiModel.translate method. Translates the provided document into the specified target language... doc = aw . Document ( file_name = MY_DIR...models. model = aw . ai . AiModel . create ( aw . ai . AiModelType...
ImportFormatOptions.merge_pasted_lists property. Gets or sets a boolean value that specifies whether pasted lists will be merged with surrounding lists... src_doc = aw . Document ( file_name = MY_DIR...'List item.docx' ) dst_doc = aw . Document ( file_name = MY_DIR...
PageSetup.sheetsPerBooklet property. Returns or sets the number of pages to be included in each booklet.... let doc = new aw . Document (); // Insert text...spans 16 pages. let builder = new aw . DocumentBuilder ( doc ); builder...
PageSetup.bidi property. Specifies that this section contains bidirectional (complex scripts) text.... let doc = new aw . Document (); let pageSetup...setCount ( 3 ); let builder = new aw . DocumentBuilder ( doc ); builder...
DocumentBase.styles property. Returns a collection of styles defined in the document.... doc = aw . Document () builder = aw . DocumentBuilder...style = doc . styles . add ( aw . StyleType . PARAGRAPH , 'MyStyle1'...
FieldAdvance.left_offset property. Gets or sets the number of points by which the text that follows the field should be moved left.... doc = aw . Document () builder = aw . DocumentBuilder...field = builder . insert_field ( aw . fields . FieldType . FIELD_ADVANCE...
VbaProject.references property. Gets a collection of VBA project references....dll" ; let doc = new aw . Document ( base . myDir + "VBA...case aw . Vba . VbaReferenceType . Registered : case aw . Vba...
FieldAdvance.up_offset property. Gets or sets the number of points by which the text that follows the field should be moved up.... doc = aw . Document () builder = aw . DocumentBuilder...field = builder . insert_field ( aw . fields . FieldType . FIELD_ADVANCE...