Aspose::Page::XPS::XpsDocument 클래스

XpsDocument class

주요 엔터티를 캡슐화하는 클래스이며, 모든 XPS 요소에 대한 조작 메서드를 제공합니다.

class XpsDocument : public Aspose::Page::Document,
                    public System::IDisposable

메서드

메서드설명
Add(T)콘텐츠 요소(Canvas, Path, 또는 Glyphs)를 추가합니다.
AddCanvas()활성 페이지에 새 캔버스를 추가합니다.
AddDocument(bool)기본 페이지 크기로 빈 문서를 추가합니다.
AddDocument(float, float, bool)첫 페이지의 widthheight 차원으로 빈 문서를 추가합니다.
AddGlyphs(System::String, float, System::Drawing::FontStyle, float, float, System::String)활성 페이지에 새 글리프를 추가합니다.
AddGlyphs(System::SharedPtr<XpsModel::XpsFont>, float, float, float, System::String)활성 페이지에 새 글리프를 추가합니다.
AddOutlineEntry(System::String, int32_t, System::SharedPtr<XpsModel::XpsHyperlinkTarget>)문서에 개요 항목을 추가합니다.
AddPage(bool)기본 페이지 크기로 문서에 빈 페이지를 추가합니다.
AddPage(float, float, bool)지정된 widthheight 로 문서에 빈 페이지를 추가합니다.
AddPage(System::SharedPtr<XpsModel::XpsPage>, bool)문서에 페이지를 추가합니다.
AddPath(System::SharedPtr<XpsModel::XpsPathGeometry>)활성 페이지에 새 경로를 추가합니다.
Assert()
CreateArcSegment(System::Drawing::PointF, System::Drawing::SizeF, float, bool, XpsModel::XpsSweepDirection, bool)새 타원 호 세그먼트를 생성합니다.
CreateCanvas()새 캔버스를 생성합니다.
CreateColor(System::Drawing::Color)새 색상을 생성합니다.
CreateColor(int32_t, int32_t, int32_t, int32_t)sRGB 색상 공간에서 새 색상을 생성합니다.
CreateColor(int32_t, int32_t, int32_t)sRGB 색상 공간에서 새 색상을 생성합니다.
CreateColor(float, float, float, float)scRGB 색상 공간에서 새 색상을 생성합니다.
CreateColor(float, float, float)scRGB 색상 공간에서 새 색상을 생성합니다.
CreateColor(System::String, const System::ArrayPtr<float>&)ICC 기반 색상 공간에서 새 색상을 생성합니다.
CreateColor(System::SharedPtr<XpsModel::XpsIccProfile>, const System::ArrayPtr<float>&)ICC 기반 색상 공간에서 새 색상을 생성합니다.
CreateFont(System::String, System::Drawing::FontStyle)TrueType 글꼴 리소스를 생성합니다.
CreateFont(System::SharedPtr<System::IO::Stream>)스트림에서 새 TrueType 글꼴 리소스를 생성합니다.
CreateGlyphs(System::String, float, System::Drawing::FontStyle, float, float, System::String)새 글리프를 생성합니다.
CreateGlyphs(System::SharedPtr<XpsModel::XpsFont>, float, float, float, System::String)새 글리프를 생성합니다.
CreateGradientStop(System::SharedPtr<XpsModel::XpsColor>, float)새로운 그라디언트 스톱을 생성합니다.
CreateGradientStop(System::Drawing::Color, float)새로운 그라디언트 스톱을 생성합니다.
CreateIccProfile(System::String)iccProfilePath 에 위치한 ICC 프로파일 파일에서 새 ICC 프로파일 리소스를 생성합니다.
CreateIccProfile(System::SharedPtr<System::IO::Stream>)stream 에서 새 ICC 프로파일 리소스를 생성합니다.
CreateImage(System::String)imagePath 에 위치한 이미지 파일에서 새 이미지 리소스를 생성합니다.
CreateImage(System::SharedPtr<System::IO::Stream>)stream 에서 새 이미지 리소스를 생성합니다.
CreateImageBrush(System::SharedPtr<XpsModel::XpsImage>, System::Drawing::RectangleF, System::Drawing::RectangleF)새로운 이미지 브러시를 생성합니다.
CreateImageBrush(System::String, System::Drawing::RectangleF, System::Drawing::RectangleF)새로운 이미지 브러시를 생성합니다.
CreateLinearGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>>, System::Drawing::PointF, System::Drawing::PointF)새로운 선형 그라디언트 브러시를 생성합니다.
CreateLinearGradientBrush(System::Drawing::PointF, System::Drawing::PointF)새로운 선형 그라디언트 브러시를 생성합니다.
CreateMatrix(float, float, float, float, float, float)새로운 아핀 변환 행렬을 생성합니다.
CreatePath(System::SharedPtr<XpsModel::XpsPathGeometry>)새로운 경로를 생성합니다.
CreatePathFigure(System::Drawing::PointF, bool)새로운 경로 도형을 생성합니다.
CreatePathFigure(System::Drawing::PointF, System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathSegment>>>, bool)새로운 경로 도형을 생성합니다.
CreatePathGeometry(System::String)축약형으로 지정된 새로운 경로 기하학을 생성합니다.
CreatePathGeometry()새로운 경로 기하학을 생성합니다.
CreatePathGeometry(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathFigure>>>)지정된 경로 도형 목록으로 새로운 경로 기하학을 생성합니다.
CreatePolyBezierSegment(System::ArrayPtr<System::Drawing::PointF>, bool)새로운 3차 베지어 곡선 집합을 생성합니다.
CreatePolyLineSegment(System::ArrayPtr<System::Drawing::PointF>, bool)임의 개수의 개별 정점을 포함하는 새로운 다각형 드로잉을 생성합니다.
CreatePolyQuadraticBezierSegment(System::ArrayPtr<System::Drawing::PointF>, bool)경로 도형의 이전 점에서 정점 집합을 통해 지정된 제어점을 사용하여 새로운 2차 베지어 곡선 집합을 생성합니다.
CreateRadialGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>>, System::Drawing::PointF, System::Drawing::PointF, float, float)새로운 방사형 그라디언트 브러시를 생성합니다.
CreateRadialGradientBrush(System::Drawing::PointF, System::Drawing::PointF, float, float)새로운 방사형 그라디언트 브러시를 생성합니다.
CreateSolidColorBrush(System::SharedPtr<XpsModel::XpsColor>)새로운 단색 브러시를 생성합니다.
CreateSolidColorBrush(System::Drawing::Color)새로운 단색 브러시를 생성합니다.
CreateVisualBrush(System::SharedPtr<XpsModel::XpsContentElement>, System::Drawing::RectangleF, System::Drawing::RectangleF)새로운 비주얼 브러시를 생성합니다.
Dispose() override인스턴스를 해제합니다.
get_ActiveDocument()활성 문서 번호를 가져옵니다.
get_ActivePage()활성 문서 내의 활성 페이지 번호를 가져옵니다.
get_DocumentCount()XPS 패키지 내부 문서 수를 반환합니다.
get_JobPrintTicket()문서의 작업 인쇄 티켓을 반환/설정합니다.
get_Page()활성 페이지에 대한 XpsPage 인스턴스를 반환합니다.
get_PageCount()활성 문서의 페이지 수를 반환합니다.
get_TotalPageCount()XPS 문서 내부 모든 문서의 총 페이지 수를 반환합니다.
get_Utils() const공식 XPS 조작 API를 넘어서는 유틸리티를 제공하는 객체를 가져옵니다.
GetDocumentPrintTicket(int32_t)documentIndex 로 인덱싱된 문서의 인쇄 티켓을 반환합니다.
GetPagePrintTicket(int32_t, int32_t)documentIndex 로 인덱싱된 문서에서 pageIndex 로 인덱싱된 페이지의 인쇄 티켓을 반환합니다.
Insert(int32_t, T)index 위치에 활성 페이지에 요소(Canvas, Path, or Glyphs)를 삽입합니다.
InsertCanvas(int32_t)index 위치에 활성 페이지에 새 canvas를 삽입합니다.
InsertDocument(int32_t, bool)index 위치에 기본 페이지 크기의 빈 문서를 삽입합니다.
InsertDocument(int32_t, float, float, bool)index 위치에 첫 페이지 크기 widthheight 로 빈 문서를 삽입합니다.
InsertGlyphs(int32_t, System::String, float, System::Drawing::FontStyle, float, float, System::String)index 위치에 활성 페이지에 새 glyphs를 삽입합니다.
InsertGlyphs(int32_t, System::SharedPtr<XpsModel::XpsFont>, float, float, float, System::String)index 위치에 활성 페이지에 새 glyphs를 삽입합니다.
InsertPage(int32_t, bool)index 위치에 기본 페이지 크기의 빈 페이지를 문서에 삽입합니다.
InsertPage(int32_t, float, float, bool)index 위치에 지정된 widthheight 로 빈 페이지를 문서에 삽입합니다.
InsertPage(int32_t, System::SharedPtr<XpsModel::XpsPage>, bool)index 위치에 페이지를 문서에 삽입합니다.
InsertPath(int32_t, System::SharedPtr<XpsModel::XpsPathGeometry>)index 위치에 활성 페이지에 새 path를 삽입합니다.
Merge(System::ArrayPtr<System::String>, System::String)여러 XPS 파일을 하나의 XPS 문서로 병합합니다.
Merge(System::ArrayPtr<System::String>, System::SharedPtr<System::IO::Stream>)여러 XPS 파일을 하나의 XPS 문서로 병합합니다.
MergeToPdf(System::ArrayPtr<System::String>, System::String, System::SharedPtr<Presentation::Pdf::PdfSaveOptions>)Device 인스턴스를 사용하여 XPS 문서를 PDF로 병합합니다.
MergeToPdf(System::ArrayPtr<System::String>, System::SharedPtr<System::IO::Stream>, System::SharedPtr<Presentation::Pdf::PdfSaveOptions>)Device 인스턴스를 사용하여 XPS 문서를 PDF로 병합합니다.
Remove(T)활성 페이지에서 요소를 제거합니다.
RemoveAt(int32_t)활성 페이지에서 index 위치에 있는 요소를 제거합니다.
RemoveDocumentAt(int32_t)index 위치에 있는 문서를 제거합니다.
RemovePage(System::SharedPtr<XpsModel::XpsPage>)문서에서 페이지를 제거합니다.
RemovePageAt(int32_t)문서에서 index 위치에 있는 페이지를 제거합니다.
Save(System::String)XPS 문서를 path 에 위치한 XPS 파일로 저장합니다.
Save(System::SharedPtr<System::IO::Stream>)XPS 문서를 스트림에 저장합니다.
SaveAsImage(System::SharedPtr<Presentation::Image::ImageSaveOptions>)문서를 이미지 파일로 저장합니다. 출력 디렉터리와 파일 이름은 입력 XPS 파일과 동일합니다. 파일 확장자는 “options” 매개변수의 이미지 형식에 따라 결정됩니다. 문서가 FileStream이 아닌 스트림으로 초기화된 경우, 이미지 파일은 현재 폴더에 기본 파일 이름 템플릿으로 저장됩니다.
SaveAsImage(System::SharedPtr<Presentation::Image::ImageSaveOptions>, System::String, System::String)문서를 지정된 디렉터리와 지정된 파일 이름으로 이미지 파일에 저장합니다. 파일 확장자는 “options” 매개변수의 이미지 형식에 따라 결정됩니다.
SaveAsImageBytes(System::SharedPtr<Presentation::Image::ImageSaveOptions>)문서를 비트맵 이미지 형식으로 바이트 배열로 저장합니다.
SaveAsPdf(System::String, System::SharedPtr<Presentation::Pdf::PdfSaveOptions>)문서를 PDF 형식으로 저장합니다.
SaveAsPdf(System::SharedPtr<System::IO::Stream>, System::SharedPtr<Presentation::Pdf::PdfSaveOptions>)문서를 PDF 형식으로 저장합니다.
SaveAsPs(System::String, System::SharedPtr<EPS::Device::PsSaveOptions>)문서를 PS 형식으로 저장합니다.
SaveAsPs(System::SharedPtr<System::IO::Stream>, System::SharedPtr<EPS::Device::PsSaveOptions>)문서를 PS 형식으로 저장합니다.
SelectActiveDocument(int32_t)편집을 위해 활성 문서를 선택합니다.
SelectActivePage(int32_t)편집을 위해 활성 문서 페이지를 선택합니다.
set_JobPrintTicket(System::SharedPtr<Aspose::Page::XPS::XpsMetadata::JobPrintTicket>)문서의 작업 인쇄 티켓을 반환/설정합니다.
SetDocumentPrintTicket(int32_t, System::SharedPtr<XpsMetadata::DocumentPrintTicket>)printTicketdocumentIndex 로 색인된 문서에 연결합니다.
SetPagePrintTicket(int32_t, int32_t, System::SharedPtr<XpsMetadata::PagePrintTicket>)printTicketdocumentIndex 로 색인된 문서의 pageIndex 로 색인된 페이지에 연결합니다.
XpsDocument()기본 페이지 크기로 빈 XPS 문서를 생성합니다.
XpsDocument(System::String)path에 위치한 기존 XPS 문서를 엽니다.
XpsDocument(System::String, System::SharedPtr<LoadOptions>)path에 위치한 기존 문서를 XPS 문서로 엽니다.
XpsDocument(System::SharedPtr<System::IO::Stream>, System::SharedPtr<LoadOptions>)stream에 저장된 기존 문서를 XPS 문서로 로드합니다.

또 보기