ContentStreamBuilder
סקירה כללית
ContentStreamBuilder הוא שיעור ב Aspose.PDF FOSS עבור .NET.
בניית תוויות זרימת תוכן PDF באמצעות סינתזה של המפעיל מ-PDF32000 §8-9.
שיעור זה מספק 51 שיטות לעבוד עם אובייקטים ב- .NET תוכניות. שיטות זמינות כוללות: BeginMarkedContent, BeginMarkedContentWithProps, BeginText, Build, Clip, ClipEvenOdd, CloseAndStroke, ClosePath, CurveTo, DrawXObject, EndMarkedContent, EndPath,35 שיטות נוספות. כל החברים הציבוריים זמינים לכל יישום .NET לאחר התקנת Aspose.PDF FOSS עבור חבילת .Net.
שיטות
| Signature | תיאור |
|---|---|
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(x, y) על האינדקס הזה ContentStreamBuilder. |
LineTo(x: double, y: double) | צלצול LineTo(x, y) על האינדקס הזה ContentStreamBuilder. |
CurveTo(x1: double, y1: double, x2: double, y2: double, x3: double, y3: double) | צלצול CurveTo(x1, y1, x2, y2, x3, y3) על האינדקס הזה ContentStreamBuilder. |
Rectangle(x: double, y: double, width: double, height: double) | קורא Rectangle(x, y, רוחב, גובה) על האינדקס הזה ContentStreamBuilder. |
ClosePath() | צלצול ClosePath על האינדקס הזה ContentStreamBuilder. |
Stroke() | קוראים ל- Stroke על האירוע הזה ContentStreamBuilder. |
Fill() | צלצול מלא על זה ContentStreamBuilder דוגמה. |
FillEvenOdd() | צלצול FillEvenOdd על האינדקס הזה ContentStreamBuilder. |
FillAndStroke() | צלצול FillAndStroke על האינדקס הזה ContentStreamBuilder. |
CloseAndStroke() | צלצול CloseAndStroke על האינדקס הזה ContentStreamBuilder. |
EndPath() | צלצול EndPath על האינדקס הזה ContentStreamBuilder. |
Clip() | קרא קליפ על האינדקס הזה ContentStreamBuilder. |
ClipEvenOdd() | צלצול ClipEvenOdd על האינדקס הזה ContentStreamBuilder. |
BeginText() | צלצול BeginText על האינדקס הזה ContentStreamBuilder. |
EndText() | צלצול EndText על האינדקס הזה ContentStreamBuilder. |
SetFont(fontName: string, size: double) | מגדיר את ערך הגופן. |
MoveTextPosition(tx: double, ty: double) | צלצול MoveTextPosition(tx, ty) על האינדקס הזה 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) | מגדיר את ערך ריווח המילים. |
SetHorizontalScaling(percent: double) | טקסט אורגני (Tz), המוצג כפרק של רוחב נורמלי (100 = לא מופרך). |
SetTextRenderingMode(mode: int) | מגדיר את ערך מצב הצגת הטקסט. |
SetTextRise(rise: double) | מגדיר את ערך הגובה של הטקסט. |
ShowText(text: string) | צלצול ShowText(טקסט) על האינדקס הזה ContentStreamBuilder. |
ShowTextBytes(bytes: byte[]) | הצג טקסט יחיד-בייט מראש. |
ShowTextHex(glyphIds: byte[]) | הצג טקסט באמצעות רצועה מקודדת (ל- CIDFont glyph IDs). |
DrawXObject(name: string) | קרא ל-DrawXObject(שם) על ההדפסה הזו ContentStreamBuilder. |
SetExtGState(name: string) | מגדיר את ערך ext g state. |
BeginMarkedContent(tag: string) | צלצול BeginMarkedContent(tag) על האינדקס הזה ContentStreamBuilder. |
BeginMarkedContent(tag: string, mcid: int) | צלצול BeginMarkedContent(תגית, mcid) על זה ContentStreamBuilder דוגמה. |
BeginMarkedContentWithProps(tag: string, propsDictInline: string) | BDC עם מילון תכונות מוטבע (כבר סרילי PDF דיקט ספרותי). |
EndMarkedContent() | צלצול EndMarkedContent על האינדקס הזה ContentStreamBuilder. |
BeginMarkedContent(info: Tagged.MarkedContentInfo) | התחל סדר תוכן מסומן באמצעות MarkedContentInfo מ StructureElementBuilder. |
Raw(operatorText: string) | קורא Raw(operatorText) באינדקס זה ContentStreamBuilder. |
Build() | בואו לבנות את זרימת התוכן כבייט. |
ToString() | בואו לבנות את זרימת התוכן כקשת. |