Aspose.Note FOSS for Python

यह संदर्भ पूर्ण सार्वजनिक API सतह को कवर करता है aspose-note संस्करण 26.3.1। केवल उन प्रतीकों को दस्तावेज़ित किया गया है जो aspose.note पैकेज से निर्यातित होते हैं यहाँ। aspose.note._internal यह एक कार्यान्वयन विवरण है और बिना सूचना के बदल सकता है।.

ImageRenderOptions: pip install aspose-note (कोर) या pip install "aspose-note[pdf]" (PDF निर्यात के साथ)

ImageRenderOptions: from aspose.note import Document, RichText, ...


ImageRenderOptions

डॉक्यूमेंट और ट्रैवर्सल

ClassDescription
AsposeNoteErrorClass extending Exception.
AttachedFileAttachedFile.FileName holds the optional name of the attached file.
CompositeNodeCompositeNode.AppendChildLast appends the given node as the last child and returns the added node.
DocumentDocument.Save writes the document to a file, stream, or path using the given format or options.
DocumentVisitorDocumentVisitor.VisitDocumentStart is invoked when traversal begins a Document node.
FileCorruptedExceptionClass extending AsposeNoteError.
ImageImage.Replace replaces the current image data with the provided Image instance.
IncorrectDocumentStructureExceptionClass extending AsposeNoteError.
IncorrectPasswordExceptionClass extending AsposeNoteError.
LicenseLicense.SetLicense एक लाइसेंस को दिए गए फ़ाइल मार्ग या बाइनरी स्ट्रीम से लोड करता है।
LoadOptionsLoadOptions.DocumentPassword एन्क्रिप्टेड दस्तावेजों को खोलने के लिए उपयोग किए जाने वाले पासवर्ड का प्रबंधन करता है, या यदि नहीं, तो कोई भी।
MeteredMetered.SetMeteredKey मेटेड लाइसेंस के लिए प्रदान की गई सार्वजनिक और निजी कुंजी को स्टोर करता है।
NodeNode.Accept invokes the visitor on this node for traversal or processing.
NoteTagNoteTag.CreateYellowStar creates a yellow‑star tag, optionally assigning a label.
NumberListNumberList.GetNumberedListHeader returns the header string for the specified list number.
OutlineOutline.HorizontalOffset represents the horizontal offset of the outline within its container.
OutlineElementOutlineElement.NumberList represents the numbered list applied to this outline element, or None if absent.
PagePage.Clone creates a copy of the page; if cloneHistory is true the page’s revision history is also copied.
PageHistoryPageHistory.Add adds the specified Page to the collection.
ParagraphStyleParagraphStyle.Default returns a ParagraphStyle instance initialized with default formatting values.
RichTextRichText.Append appends the given text with optional style to the end of the rich text.
TableTable.Tags provides the collection of NoteTag objects attached to the table.
TableCellClass with 7 methods and 4 properties.
TableColumnTableColumn.Width बिंदुओं में स्तंभ चौड़ाई का प्रतिनिधित्व करता है, या कोई नहीं यदि सेट नहीं किया गया है।
TableRowClass with 7 methods and 4 properties.
TextRunTextRun.Text holds the plain string content of the text run.
TextStyleTextStyle.Default returns a TextStyle object representing the library’s default text formatting.
TitleTitle.TitleText holds the RichText representing the title’s main text, or None if absent.
UnsupportedFileFormatExceptionUnsupportedFileFormatException.FileFormat represents the file format that triggered the exception.
UnsupportedSaveFormatExceptionClass extending AsposeNoteError.

डॉक्यूमेंट संरचना

EnumerationDescription
FileFormatFileFormat.Unknown एक अनदेखा या अज्ञात फ़ाइल प्रारूप का प्रतिनिधित्व करता है।
HorizontalAlignmentHorizontalAlignment.Left बाईं ओर क्षैतिज संरेखण का प्रतिनिधित्व करता है।
NodeTypeNodeType.Document represents a OneNote document node, the root of the DOM hierarchy.
SaveFormatSaveFormat.Pdf represents the PDF format used when saving a Document.
TagStatusTagStatus.Open एक खुला (सक्रिय) टैग स्थिति का प्रतिनिधित्व करता है।

ImageRenderOptions

ClassDescription
AttachmentTagFlowableAttachmentTagFlowable.hAlign represents the horizontal alignment setting for the tag flowable.
OutlinePrefixFlowableOutlinePrefixFlowable.wrap sets the flowable’s available width and height to aW and aH.
PdfSaveOptionsPdfSaveOptions.ImageCompression controls the compression algorithm applied to images embedded in the PDF.
SaveOptionsSaveOptions.SaveFormat specifies the output format for saving the document.

ImageRenderOptions

संगतता स्टब्स


क्लास विवरण

ImageRenderOptions

रूट दस्तावेज़ क्लास। लोड करें एक .one फ़ाइल को फ़ाइल पथ से, एक pathlib.Path, या एक बाइनरी स्ट्रीम।.

from aspose.note import Document, LoadOptions

doc = Document(source=None, load_options=None)

कंस्ट्रक्टर पैरामीटर:

ImageRenderOptions:

ImageRenderOptions:

Document.FileFormat नोट: यह प्रॉपर्टी OneNote फ़ाइल फ़ॉर्मेट संस्करण का सर्वश्रेष्ठ‑प्रयास संकेत प्रदान करती है। यह FileFormat enum में तीन मान हैं: OneNote2010, OneNoteOnline, और OneNote2007.

Document.Save() स्ट्रीम समर्थन: target एक बाइनरी स्ट्रीम हो सकता है (io.BytesIO, बाइनरी राइट मोड में खुला फ़ाइल हैंडल, आदि)। यह परीक्षण सूट द्वारा पुष्टि की गई है: doc.Save(io.BytesIO(), PdfSaveOptions(SaveFormat.Pdf)).


DocumentVisitor

विज़िटर‑पैटर्न ट्रैवर्सल के लिए एब्स्ट्रैक्ट बेस क्लास। आवश्यक विज़िट मेथड्स को ओवरराइड करें:


ImageRenderOptions

सभी दस्तावेज़ ट्री नोड्स के लिए बेस क्लास।.


CompositeNode

ImageRenderOptions Node. चाइल्ड प्रबंधन जोड़ता है:


ImageRenderOptions

ImageRenderOptions CompositeNode. एक OneNote पेज का प्रतिनिधित्व करता है।.

ImageRenderOptions:


ImageRenderOptions

ImageRenderOptions CompositeNode. किसी का शीर्षक ब्लॉक रखता है Page.


ImageRenderOptions

ImageRenderOptions CompositeNode. एक स्थितीय कंटेनर के लिए OutlineElement नोड्स।.


OutlineElement

ImageRenderOptions CompositeNode. एक लीफ़ कंटेनर जो कंटेंट नोड्स रखता है।.


RichText

ImageRenderOptions CompositeNode. स्टाइल किए गए पाठ का एक ब्लॉक।.

ImageRenderOptions:


TextRun

ImageRenderOptions Node. एक एकल फ़ॉर्मेटेड टेक्स्ट सेगमेंट।.


TextStyle

ImageRenderOptions Node. एक के लिए प्रति-कैरेक्टर फ़ॉर्मेटिंग प्रॉपर्टीज़ TextRun.


ImageRenderOptions

ImageRenderOptions CompositeNode. एक एम्बेडेड छवि।.

ImageRenderOptions:


AttachedFile

ImageRenderOptions CompositeNode. एक एम्बेडेड फ़ाइल संलग्नक।.


ImageRenderOptions

ImageRenderOptions CompositeNode. OutlineElement के भीतर एक तालिका।.


TableRow

ImageRenderOptions CompositeNode. एक पंक्ति के भीतर एक Table. दोहराएँ GetChildNodes(TableCell) सेल्स तक पहुँचने के लिए।.


TableCell

ImageRenderOptions CompositeNode. एक सेल के भीतर एक TableRow. शामिल है RichText, Image, और अन्य सामग्री नोड्स।.


NoteTag

ImageRenderOptions Node. एक OneNote टैग जो एक सामग्री नोड से जुड़ा है।.

टाइमस्टैम्प नोट: created और completed MS-ONE बाइनरी फ़ॉर्मेट से पार्स किए गए कच्चे पूर्णांक टाइमस्टैम्प हैं, न कि datetime ऑब्जेक्ट्स।.

फ़ैक्टरी मेथड्स:


NumberList

ImageRenderOptions Node. क्रमांकित या बुलेटेड सूची मेटाडेटा पर एक OutlineElement.


LoadOptions


SaveOptions

सभी सहेजने विकल्पों के लिए बेस क्लास। आवश्यक पोज़िशनल आर्ग्यूमेंट।.


PdfSaveOptions

ImageRenderOptions SaveOptions. PDF-विशिष्ट निर्यात कॉन्फ़िगरेशन। के साथ बनाएं PdfSaveOptions(SaveFormat.Pdf).

PageIndex / PageCount सावधानी: ये फ़ील्ड पर घोषित किए गए हैं PdfSaveOptions API संगतता के लिए, लेकिन Document.Save() v26.3.1 में कार्यान्वयन इन्हें PDF निर्यातकर्ता को पढ़ता या फ़ॉरवर्ड नहीं करता। सभी पृष्ठ हमेशा निर्यात किए जाते हैं।.


लाइसेंस और मीटरड

.NET के लिए Aspose.Note के साथ API आकार संगतता हेतु संगतता स्टब्स निर्यात किए गए हैं। इस FOSS इम्प्लीमेंटेशन में सभी मेथड्स नो-ऑप्स हैं।.

from aspose.note import License, Metered

lic = License()
lic.SetLicense("path/to/license.lic")  # no-op

m = Metered()
m.SetMeteredKey("public_key", "private_key")  # no-op

Python के लिए Aspose.Note FOSS की किसी भी सुविधा का उपयोग करने के लिए कोई लाइसेंस कुंजी आवश्यक नहीं है।.


ImageRenderOptions

पूर्ण एनीमरेशन संदर्भ: ImageRenderOptions

SaveFormat

FileFormat

OneNote फ़ाइल फ़ॉर्मेट संस्करण को दर्शाने वाले एनीम मान।. Document.FileFormat एक सर्वश्रेष्ठ-प्रयास संकेत प्रदान करता है।.

HorizontalAlignment

NodeType


ImageRenderOptions

पूर्ण अपवाद संदर्भ: ImageRenderOptions


संबंधित देखें

 हिन्दी