Udělejte si dokument pouze pro čtení tak, aby obsah mohl být kopírován nebo čten, ale nebyl upraven pomocí Python....words as aw doc = aw . Document () builder = aw . DocumentBuilder...as read-only. doc . protect ( aw . ProtectionType . READ_ONLY...
להפוך את המסמך לקריאה בלבד כך שניתן להעתיק את התוכן או לקרוא, אך לא לשנות באמצעות שימוש Python....words as aw doc = aw . Document () builder = aw . DocumentBuilder...as read-only. doc . protect ( aw . ProtectionType . READ_ONLY...
Python कोड छवि को HTML प्रारूप में बदलें। सहेजें छवि के रूप में HTML का उपयोग कर Python ।...words as aw doc = aw.Document() builder = aw.DocumentBuilder(doc)...) import aspose.words as aw doc = aw.Document("Input.png") doc...
NodeChangingArgs.new_parent property. Gets the node's parent that will be set after the operation completes.... class NodeChangingPrinter ( aw . INodeChangingCallbac ): def...args ): self . assertEqual ( aw . NodeChangingAction . INSERT...
LayoutOptions.comment_display_mode property. Gets or sets the way comments are rendered... doc = aw . Document () builder = aw . DocumentBuilder...( 'Hello world!' ) comment = aw . Comment ( doc = doc , author...
ShapeBase.top property. Gets or sets the position of the top edge of the containing block of the shape.... doc = aw . Document () builder = aw . DocumentBuilder...'Logo.jpg' ) shape . wrap_type = aw . drawing . WrapType . NONE #...
aspose.words.saving.PdfImageColorSpaceExportMode enumeration. Specifies how the color space will be selected for the images in PDF document....e in [ aw . saving . PdfImageColorSpaceEx . AUTO , aw . saving...SIMPLE_CMYK ]: doc = aw . Document () builder = aw . DocumentBuilder...
aspose.words.saving.HtmlFixedPageHorizontalAlignment enumeration. Specifies the horizontal alignment for pages in output HTML document.... doc = aw . Document ( file_name = MY_DIR...docx' ) html_fixed_save_options = aw . saving . HtmlFixedSaveOptions...
PageSetup.border_surrounds_header property. Specifies whether the page border includes or excludes the header.... doc = aw . Document () builder = aw . DocumentBuilder...builder . move_to_header_footer ( aw . HeaderFooterType . HEADER_PRIMARY...
LoadOptions.base_uri property. Gets or sets the string that will be used to resolve relative URIs found in the document into absolute URIs when required... load_options = aw . loading . LoadOptions () load_options.... base_uri = IMAGE_DIR doc = aw . Document ( stream = stream...