ContentStreamBuilder
نظرة عامة
ContentStreamBuilder هي فئة في Aspose.PDF FOSS لـ .NET.
يبني بايتات تدفق محتوى PDF باستخدام بنية المشغل من PDF32000 §8-9.
توفر هذه الفئة 49 طريقة للعمل مع كائنات ContentStreamBuilder في برامج .NET.
الطرق المتاحة تشمل: BeginMarkedContent، BeginMarkedContentWithProps، BeginText، Build، Clip، ClipEvenOdd، CloseAndStroke، ClosePath، CurveTo، DrawXObject، EndMarkedContent، EndPath، و33 طريقة إضافية.
جميع الأعضاء العامين متاحين لأي تطبيق .NET بعد تثبيت حزمة Aspose.PDF FOSS for .NET.
الطرق
| التوقيع | الوصف |
|---|---|
SaveState() | يستدعي SaveState على هذا الكائن من ContentStreamBuilder. |
RestoreState() | يستدعي RestoreState على هذا الكائن من ContentStreamBuilder. |
SetMatrix(a: double, b: double, c: double, d: double, e: double, f: double) | يضبط قيمة المصفوفة. |
SetFillColor(r: double, g: double, b: double) | يضبط قيمة لون التعبئة. |
SetFillColor(color: Color) | يضبط قيمة لون التعبئة. |
SetStrokeColor(r: double, g: double, b: double) | يضبط قيمة لون الحد. |
SetStrokeColor(color: Color) | يضبط قيمة لون الحد. |
SetFillGray(gray: double) | يضبط قيمة اللون الرمادي للتعبئة. |
SetStrokeGray(gray: double) | يضبط قيمة اللون الرمادي للحد. |
SetLineWidth(width: double) | يضبط قيمة عرض الخط. |
SetDashPattern(pattern: double[], phase: double) | يضبط قيمة نمط الشرط. |
SetLineCap(cap: int) | يضبط قيمة نهايات الخط. |
SetLineJoin(join: int) | يضبط قيمة وصل الخط. |
MoveTo(x: double, y: double) | يستدعي MoveTo على هذا الكائن من ContentStreamBuilder. |
LineTo(x: double, y: double) | يستدعي LineTo على هذا الكائن من ContentStreamBuilder. |
CurveTo(x1: double, y1: double, x2: double, y2: double, x3: double, y3: double) | يستدعي CurveTo على هذا الكائن من ContentStreamBuilder. |
Rectangle(x: double, y: double, width: double, height: double) | يستدعي Rectangle على هذا الكائن من ContentStreamBuilder. |
ClosePath() | يستدعي ClosePath على هذا الكائن من ContentStreamBuilder. |
Stroke() | يستدعي Stroke على هذا الكائن من ContentStreamBuilder. |
Fill() | يستدعي Fill على هذا الكائن من ContentStreamBuilder. |
FillEvenOdd() | يستدعي FillEvenOdd على هذا الكائن من ContentStreamBuilder. |
FillAndStroke() | يستدعي FillAndStroke على هذا الكائن من ContentStreamBuilder. |
CloseAndStroke() | يستدعي CloseAndStroke على هذا الكائن من ContentStreamBuilder. |
EndPath() | يستدعي EndPath على هذا الكائن من ContentStreamBuilder. |
Clip() | يستدعي Clip على هذا الكائن من ContentStreamBuilder. |
ClipEvenOdd() | يستدعي ClipEvenOdd على هذا الكائن من ContentStreamBuilder. |
BeginText() | يستدعي BeginText على هذا الكائن من ContentStreamBuilder. |
EndText() | يستدعي EndText على هذا الكائن من ContentStreamBuilder. |
SetFont(fontName: string, size: double) | يضبط قيمة الخط. |
MoveTextPosition(tx: double, ty: double) | يستدعي MoveTextPosition على هذا الكائن من ContentStreamBuilder. |
SetTextMatrix(a: double, b: double, c: double, d: double, e: double, f: double) | يضبط قيمة مصفوفة النص. |
SetLeading(leading: double) | يضبط قيمة السطر (leading). |
NextLine() | يستدعي NextLine على هذا الكائن من ContentStreamBuilder. |
SetCharSpacing(spacing: double) | يضبط قيمة تباعد الأحرف. |
SetWordSpacing(spacing: double) | يضبط قيمة تباعد الكلمات. |
SetTextRenderingMode(mode: int) | يضبط قيمة وضع عرض النص. |
ShowText(text: string) | يستدعي ShowText على هذا الكائن من ContentStreamBuilder. |
ShowTextBytes(bytes: byte[]) | يعرض نصًا أحادي البايت مُرمّز مسبقًا. |
ShowTextHex(glyphIds: byte[]) | يعرض النص باستخدام سلسلة مُرمّزة سداسيًا (لمعرفات رموز CIDFont). |
DrawXObject(name: string) | يستدعي DrawXObject على هذا الكائن من ContentStreamBuilder. |
SetExtGState(name: string) | يضبط قيمة الحالة الرسومية ext g. |
BeginMarkedContent(tag: string) | يستدعي BeginMarkedContent على هذا الكائن من ContentStreamBuilder. |
BeginMarkedContent(tag: string, mcid: int) | |
BeginMarkedContentWithProps(tag: string, propsDictInline: string) | BDC مع قاموس خصائص مضمن (قيمة PDF مُسلسلة مسبقًا). |
EndMarkedContent() | يستدعي EndMarkedContent على هذا الكائن من ContentStreamBuilder. |
BeginMarkedContent(info: Tagged.MarkedContentInfo) | يبدأ تسلسل محتوى مُعلَّم باستخدام MarkedContentInfo من StructureElementBuilder. |
Raw(operatorText: string) | يستدعي Raw على هذا الكائن من ContentStreamBuilder. |
Build() | يبني تدفق المحتوى كمصفوفة بايت. |
ToString() | يبني تدفق المحتوى كسلسلة. |