C# .NET PS מפצל API לפיצול קובץ PS בודד לכמה עמודים אחד או קבצי PS מרובי עמודים. פיצול מסמכים ותמונות באמצעות מסננים שונים על ידי ציון מספרי עמודים מדויקים, מספרי עמוד התחלה או סיום ומספרי עמוד זוגיים או אי זוגיים. בצע פעולה מפוצלת כדי לחלק מסמכי HTML, PDF, טקסט, OpenDocument, Microsoft Word, Excel, PowerPoint, Visio ו-OneNote למסמכים רבים שנוצרו.
הורדפצל מסמך PS בודד למספר מסמכים עצמאיים והוסף סימני מים של תמונה או טקסט לכל אחד מהקבצים המפוצלים באמצעות C# .NET.
אתה זקוק למרחבי שמות GroupDocs.Merger
ו-GroupDocs.Watermark
כדי לבצע פעולות פיצול מסמכים בתוך PDF, Microsoft Office, HTML, OpenDocument ופורמטים רבים אחרים של קבצים. גלה עוד .NET APIs עבור מסמכי Office כפי שמוצע על ידי Conholdate.Total.
קבל את קבצי ההרכבה המתאימים מה-הורדות או אחזר את כל החבילה מ-NuGet כדי להוסיף Conholdate.Total
ישירות בסביבת העבודה שלך.
// Supports merging Microsft Word, Excel, PowerPoint, Visio, OpenDocument, HTML, eBook and PostScript file formats | |
// Supported file formats: https://docs.groupdocs.com/merger/net/supported-document-formats/ | |
using (Watermarker watermarker = new Watermarker("input.pdf")) | |
{ | |
Font font = new Font("Arial", 19, FontStyle.Bold | FontStyle.Italic); | |
TextWatermark watermark = new TextWatermark("my watermark", font); | |
watermark.ForegroundColor = Color.Red; | |
watermark.BackgroundColor = Color.Blue; | |
watermark.TextAlignment = TextAlignment.Right; | |
watermark.Opacity = 0.5; | |
watermarker.Add(watermark); | |
watermarker.Save("output.pdf"); | |
} | |
string outputFolder = @"c:\output\"; | |
SplitOptions splitOptions = new SplitOptions(outputFolder + "document_{0}.{1}", new int[] { 1, 2, 4 }); | |
using (Merger merger = new Merger("output.pdf")) | |
{ | |
merger.Split(splitOptions); | |
} |
שימוש בספריית מפצל טקסט עבור יישומי NET - פצל כל שורה או שורות מרובות של קובץ טקסט המקור לקובץ txt נפרד שנוצר על ידי שימוש בכמה שורות של קוד C#.
בצע תכונות מניפולציה רב תפקודיות של מסמכים במגוון פורמטים של מסמכים כגון Word, גיליון אלקטרוני של Excel, מצגות, RTF, PDF, Visio, HTML, OneNote, XPS ועוד רבים אחרים על ידי הוספת מספר שורות של קוד C# בלבד.
הפעולות העיקריות של מסמך בודד כוללות העברת עמודים בתוך מסמך למיקום חדש, הסרת עמוד בודד או אוסף או עמודים נבחרים, החלפת מיקומי העמודים, חילוץ עמודים ספציפיים מהמסמך, שינוי כיוון העמוד למצב לאורך או לרוחב וסיבוב את דפי מסמך המקור לזווית של 90, 180 או 270 מעלות.
// Supports merging Microsft Word, Excel, PowerPoint, Visio, OpenDocument, HTML, eBook and PostScript file formats | |
// Supported file formats: https://docs.groupdocs.com/merger/net/supported-document-formats/ | |
string filePath = @"c:\sample.txt"; | |
string filePathOut = @"c:\output\line_{0}.{1}"; | |
TextSplitOptions splitOptions = new TextSplitOptions(filePathOut, new int[] { 3, 6 }); | |
using (Merger merger = new Merger(filePath)) | |
{ | |
merger.Split(splitOptions); | |
} |
The PS (PostScript) file format is a popular vector graphics format developed by Adobe Systems. It is based on a scripting language of the same name and can be used to create high-quality, resolution-independent graphics. PostScript files are used for professional printing, as well as for digital illustration, page layout, and digital typesetting. It is an open standard and is widely supported by professional graphics and design software such as Adobe Illustrator and CorelDRAW. PostScript files are composed of a sequence of commands written in the PostScript language. These commands describe how the graphics should be printed or displayed. When opened, the commands are interpreted and the file is rendered on the device. The PostScript format also supports compression. Compressed PS files have the extension “PS.gz” and are much smaller in size than uncompressed files. PostScript files are ideal for printing, as they are resolution-independent, meaning that the document will print out correctly on different printers, regardless of their resolution. The PostScript format is also used extensively in laser printers.
לִלמוֹד(Portable Document Format)
(word processing Files)
(Spreadsheet Management)
(Visio Files)
(Web Files)
(Microsoft Word Binary Format)
(Office 2007+ Word Document)
(Microsoft Word 2007 Marco File)
(Microsoft Word Template Files)
(Microsoft Word 2007+ Template File)
(Microsoft Word Template File )
(Rich Text Format)
(Text Document)
(Microsoft Excel Spreadsheet (Legacy))
(Excel Binary Workbook)
(Macro-enabled Spreadsheet)
(Open XML Workbook)
(Excel 97 - 2003 Template)
(Excel Macro-Enabled Template)
(Excel Template)
(Excel Macro-Enabled Add-In)
(Comma Seperated Values)
(Tab Seperated Values)
(Microsoft PowerPoint 97-2003)
(Open XML presentation Format)
(PowerPoint Slide Show)
(PowerPoint Slide Show)
(The 7th Guest Video File)
(Visio Macro-Enabled Drawing)
(Visio Drawing)
(Visio Macro-Enabled Stencil File)
(Visio Stencil File)
(Visio Macro-Enabled Drawing Template)
(Visio Drawing Template)
(Visio Stencil XML File)
(Anim8or 3D Model)
(OneNote Document)
(Hyper Text Markup Language)
(MHTML Web Archive)
(Web Page Archive Format)
(OpenDocument Presentation Format)
(OpenDocument Spreadsheet)
(OpenDocument Text File Format)
(OpenDocument Standard Format)
(OpenDocument Standard Format)
(Open eBook File)
(PostScript File)
(LaTeX Source Document)
(XML Paper Specifications)