Class XpsDocument

Class XpsDocument

이름 공간 : Aspose.Page.XPS 모임: Aspose.Page.dll (25.4.0)

XPS 문서의 주요 단체를 캡슐화하는 클래스가 조작을 제공합니다.모든 XPS 요소에 대한 방법.

public sealed class XpsDocument : Document, IDisposable

Inheritance

object Document XpsDocument

Implements

IDisposable

상속 회원들

object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

XpsDocument()

기본 페이지 크기를 가진 빈 XPS 문서를 만듭니다.

public XpsDocument()

XpsDocument(스트리트)

path"에 위치한 기존 XPS 문서를 열어줍니다.

public XpsDocument(string path)

Parameters

path string

문서의 위치

XpsDocument(링크, LoadOptions)

XPS 문서로 path’에 위치한 기존 문서를 열어줍니다.

public XpsDocument(string path, LoadOptions options)

Parameters

path string

문서의 위치

options LoadOptions

문서 충전 옵션

XpsDocument(흐름, LoadOptions)

XPS 문서로 stream’에 저장된 기존 문서를 업로드합니다.

public XpsDocument(Stream stream, LoadOptions options)

Parameters

stream Stream

문서 스트림

options LoadOptions

문서 충전 옵션

Properties

ActiveDocument

활성 문서 번호를 입력합니다.

public int ActiveDocument { get; }

부동산 가치

int

ActivePage

활성 문서 내에서 활성 페이지 번호를 얻습니다.

public int ActivePage { get; }

부동산 가치

int

DocumentCount

XPS 패키지 내의 문서 수를 반환합니다.

public int DocumentCount { get; }

부동산 가치

int

JobPrintTicket

Returns/sets 문서의 직업 인쇄 티켓

public JobPrintTicket JobPrintTicket { get; set; }

부동산 가치

JobPrintTicket

Page

활성 페이지를 위한 Aspose.Page.XPS.XpsModel.XpsPage 예제를 반환합니다.

public XpsPage Page { get; }

부동산 가치

XpsPage

PageCount

활성 문서의 페이지 수를 반환합니다.

public int PageCount { get; }

부동산 가치

int

TotalPageCount

XPS 문서 내의 모든 문서의 전체 페이지 수를 반환합니다.

public int TotalPageCount { get; }

부동산 가치

int

Utils

공식 XPS 조작 API 이외의 유틸리티를 제공하는 개체를 얻습니다.

public DocumentUtils Utils { get; }

부동산 가치

DocumentUtils

Methods

추가 T>(T)

콘텐츠 요소 (Canvas, Path 또는 Glyphs)를 추가합니다.

public T Add<t>(T element) where T : XpsContentElement

Parameters

element T

추가해야 할 요소입니다.

Returns

T

추가된 요소

파라미터 유형

T

요소의 종류에 대하여

AddCanvas()

활성 페이지에 새 캔버스를 추가합니다.

public XpsCanvas AddCanvas()

Returns

XpsCanvas

캔버스를 추가합니다.

AddDocument(바울)

기본 페이지 크기를 가진 빈 문서를 추가합니다.

public void AddDocument(bool activate = true)

Parameters

activate bool

깃발은 추가 문서를 활성으로 선택할 수 있는지 여부를 나타냅니다.

AddDocument(플로트, 플로트, 볼)

첫 페이지 크기 width"와 height"를 가진 빈 문서를 추가합니다.

public void AddDocument(float width, float height, bool activate = true)

Parameters

width float

첫 페이지의 넓이.

height float

첫 페이지의 높이.

activate bool

깃발은 추가 문서를 활성으로 선택할 수 있는지 여부를 나타냅니다.

AddGlyphs(스트리트, 플로트, FontStyle, 플로트, 플로트, 스트리트)

활성 페이지에 새로운 글리프를 추가합니다.

public XpsGlyphs AddGlyphs(string fontFamily, float fontRenderingEmSize, FontStyle fontStyle, float originX, float originY, string unicodeString)

Parameters

fontFamily string

폰트 가족

fontRenderingEmSize float

글쓰기 크기

fontStyle FontStyle

글쓰기 스타일

originX float

Glyphs 출처 X 좌표.

originY float

Glyphs 원산지 Y 조정.

unicodeString string

인쇄할 수 있는 끈

Returns

XpsGlyphs

글리프를 추가합니다.

AddGlyphs(XpsFont, 플로트, 플로트, 플로트, 스트리트)

활성 페이지에 새로운 글리프를 추가합니다.

public XpsGlyphs AddGlyphs(XpsFont font, float fontRenderingEmSize, float originX, float originY, string unicodeString)

Parameters

font XpsFont

폰트 리소스

fontRenderingEmSize float

글쓰기 크기

originX float

Glyphs 출처 X 좌표.

originY float

Glyphs 원산지 Y 조정.

unicodeString string

인쇄할 수 있는 끈

Returns

XpsGlyphs

글리프를 추가합니다.

AddOutlineEntry(링크, int, XpsHyperlinkTarget)

문서에 출력 항목을 추가합니다.

public void AddOutlineEntry(string description, int outlineLevel, XpsHyperlinkTarget target)

Parameters

description string

입력에 대한 설명입니다.

outlineLevel int

출력 레벨 입니다.

target XpsHyperlinkTarget

입구 목적지

AddPage(바울)

기본 페이지 크기를 가진 문서에 빈 페이지를 추가합니다.

public XpsPage AddPage(bool activate = true)

Parameters

activate bool

깃발은 활성으로 추가 페이지를 선택할 수 있는지 여부를 나타냅니다.

Returns

XpsPage

추가 페이지

AddPage(플로트, 플로트, 볼)

문서에 width"와 height"를 지정한 빈 페이지를 추가합니다.

public XpsPage AddPage(float width, float height, bool activate = true)

Parameters

width float

새로운 페이지의 넓이.

height float

새로운 페이지의 높이.

activate bool

깃발은 활성으로 추가 페이지를 선택할 수 있는지 여부를 나타냅니다.

Returns

XpsPage

추가 페이지

AddPage(XpsPage, 바울)

문서에 페이지를 추가합니다.

public XpsPage AddPage(XpsPage page, bool activate = true)

Parameters

page XpsPage

추가해야 하는 페이지입니다.

activate bool

깃발은 활성으로 추가 페이지를 선택할 수 있는지 여부를 나타냅니다.

Returns

XpsPage

추가 페이지

AddPath(XpsPathGeometry)

활성 페이지에 새로운 경로를 추가합니다.

public XpsPath AddPath(XpsPathGeometry data)

Parameters

data XpsPathGeometry

경로의 지질학이다.

Returns

XpsPath

추가된 경로

CreateArcSegment(포인트F, SizeF, 플로트, 볼, XpsSweepDirection, 볼)

새로운 엘리피틱 아크 세그먼트를 만듭니다.

public XpsArcSegment CreateArcSegment(PointF point, SizeF size, float rotationAngle, bool isLargeArc, XpsSweepDirection sweepDirection, bool isStroked = true)

Parameters

point PointF

엘리피틱 궤의 끝점입니다.

size SizeF

x 및 y 라디오는 x,y 쌍으로 엘리피틱 궤도입니다.

rotationAngle float

엘리프스가 현재의 좌표 시스템과 비교하여 어떻게 회전되는지를 나타냅니다.

isLargeArc bool

그것은 구멍이 180 또는 그 이상의 스프레이로 끌려가는지 여부를 결정합니다.

sweepDirection XpsSweepDirection

궤도가 끌려가는 방향입니다.

isStroked bool

이 도로의 이 부분에 대한 충격이 끌려가는지 여부를 지정합니다.

Returns

XpsArcSegment

새로운 엘리피틱 아크 세그먼트.

CreateCanvas()

새로운 캔버스를 만들고 있습니다.

public XpsCanvas CreateCanvas()

Returns

XpsCanvas

새로운 캔버스

CreateColor(Color)

새로운 색깔을 만듭니다.

public XpsColor CreateColor(Color color)

Parameters

color Color

RGB 색상에 대한 원주민 색상 예제입니다.

Returns

XpsColor

새로운 색상

CreateColor(인트, 인트, 인트)

sRGB 색상 공간에서 새로운 색상을 만듭니다.

public XpsColor CreateColor(int a, int r, int g, int b)

Parameters

a int

알파 색상 구성 요소

r int

빨간색 색상 구성 요소

g int

녹색 색상 구성 요소

b int

파란색 색상 구성 요소

Returns

XpsColor

새로운 색상

CreateColor(인, 인, 인)

sRGB 색상 공간에서 새로운 색상을 만듭니다.

public XpsColor CreateColor(int r, int g, int b)

Parameters

r int

빨간색 색상 구성 요소

g int

녹색 색상 구성 요소

b int

파란색 색상 구성 요소

Returns

XpsColor

새로운 색상

CreateColor(해병대, 해병대, 해병대)

scRGB 색상 공간에서 새로운 색상을 만듭니다.

public XpsColor CreateColor(float a, float r, float g, float b)

Parameters

a float

알파 색상 구성 요소

r float

빨간색 색상 구성 요소

g float

녹색 색상 구성 요소

b float

파란색 색상 구성 요소

Returns

XpsColor

새로운 색상

CreateColor(해군, 해군, 해군)

scRGB 색상 공간에서 새로운 색상을 만듭니다.

public XpsColor CreateColor(float r, float g, float b)

Parameters

r float

빨간색 색상 구성 요소

g float

녹색 색상 구성 요소

b float

파란색 색상 구성 요소

Returns

XpsColor

새로운 색상

CreateColor(파라미스, 파라미스 플로이트[])

ICC 기반 색상 공간에서 새로운 색상을 만듭니다.

public XpsColor CreateColor(string path, params float[] components)

Parameters

path string

ICC 프로필으로 가는 길입니다.

components float [ ] [ [ ]

색상 구성 요소

Returns

XpsColor

새로운 색상

CreateColor(XpsIcc프로필, 파라미스 플로이트[])

ICC 기반 색상 공간에서 새로운 색상을 만듭니다.

public XpsColor CreateColor(XpsIccProfile iccProfile, params float[] components)

Parameters

iccProfile XpsIccProfile

ICC 프로필 리소스

components float [ ] [ [ ]

색상 구성 요소

Returns

XpsColor

새로운 색상

CreateFont(링크, FontStyle)

새로운 TrueType 글꼴 리소스를 만듭니다.

public XpsFont CreateFont(string fontFamily, FontStyle fontStyle)

Parameters

fontFamily string

폰트 가족

fontStyle FontStyle

글쓰기 스타일

Returns

XpsFont

새로운 TrueType 글꼴 리소스.

CreateFont(Stream)

스트림에서 새로운 TrueType 문자 리소스를 생성합니다.

public XpsFont CreateFont(Stream stream)

Parameters

stream Stream

ICC 프로필을 포함하는 흐름은 자원으로 취해야합니다.

Returns

XpsFont

새로운 TrueType 글꼴 리소스.

CreateGlyphs(스트리트, 플로트, FontStyle, 플로트, 플로트, 스트리트)

새로운 글리프를 만듭니다.

public XpsGlyphs CreateGlyphs(string fontFamily, float fontRenderingEmSize, FontStyle fontStyle, float originX, float originY, string unicodeString)

Parameters

fontFamily string

폰트 가족

fontRenderingEmSize float

글쓰기 크기

fontStyle FontStyle

글쓰기 스타일

originX float

Glyphs 출처 X 좌표.

originY float

Glyphs 원산지 Y 조정.

unicodeString string

인쇄할 수 있는 끈

Returns

XpsGlyphs

새로운 글리프

CreateGlyphs(XpsFont, 플로트, 플로트, 플로트, 스트리트)

새로운 글리프를 만듭니다.

public XpsGlyphs CreateGlyphs(XpsFont font, float fontRenderingEmSize, float originX, float originY, string unicodeString)

Parameters

font XpsFont

폰트 리소스

fontRenderingEmSize float

글쓰기 크기

originX float

Glyphs 출처 X 좌표.

originY float

Glyphs 원산지 Y 조정.

unicodeString string

인쇄할 수 있는 끈

Returns

XpsGlyphs

새로운 글리프

CreateGradientStop(XpsColor, 플로이트)

새로운 그라디언트 스테이크를 만듭니다.

public XpsGradientStop CreateGradientStop(XpsColor color, float offset)

Parameters

color XpsColor

그라디언트는 색을 멈추지 않는다.

offset float

그라디언트는 그라디언트를 보상한다.

Returns

XpsGradientStop

새로운 그라디언트 정지

CreateGradientStop(색상, 플로트)

새로운 그라디언트 스테이크를 만듭니다.

public XpsGradientStop CreateGradientStop(Color color, float offset)

Parameters

color Color

그라디언트는 색을 멈추지 않는다.

offset float

그라디언트는 그라디언트를 보상한다.

Returns

XpsGradientStop

새로운 그라디언트 정지

CreateIccProfile(스트리트)

ICC 프로필 파일에서 iccProfilePath"에 위치한 새로운 ICC 프로필 리소스를 만듭니다.

public XpsIccProfile CreateIccProfile(string iccProfilePath)

Parameters

iccProfilePath string

ICC 프로필으로 가는 길은 자원으로 취해야합니다.

Returns

XpsIccProfile

새로운 ICC 프로필 리소스.

CreateIccProfile(Stream)

stream"에서 새로운 ICC 프로필 리소스를 만듭니다.

public XpsIccProfile CreateIccProfile(Stream stream)

Parameters

stream Stream

ICC 프로필을 포함하는 흐름은 자원으로 취해야합니다.

Returns

XpsIccProfile

새로운 ICC 프로필 리소스.

CreateImage(스트리트)

imagePath"에 위치한 이미지 파일에서 새로운 이미지 리소스를 생성합니다.

public XpsImage CreateImage(string imagePath)

Parameters

imagePath string

그림으로 가는 길은 자원으로 가는 길이다.

Returns

XpsImage

새로운 이미지 리소스

CreateImage(Stream)

stream"에서 새로운 이미지 리소스를 생성합니다.

public XpsImage CreateImage(Stream stream)

Parameters

stream Stream

그림을 포함하는 흐름은 자원으로 취해야합니다.

Returns

XpsImage

새로운 이미지 리소스

CreateImageBrush(XpsImage, RectangleF 및 RectangleF)

새로운 이미지 브러시를 만듭니다.

public XpsImageBrush CreateImageBrush(XpsImage image, RectangleF viewbox, RectangleF viewport)

Parameters

image XpsImage

이미지 리소스 입니다.

viewbox RectangleF

브러쉬의 출처 콘텐츠의 위치와 차원.

viewport RectangleF

프리미엄 브러쉬의 컨테이너 좌표 공간의 지역스프레이가 적용되는 지역을 채우기 위해 (어쩌면 반복적으로) 적용되는 막대기

Returns

XpsImageBrush

새 이미지 브러시

CreateImageBrush(링크, RectangleF, RectangleF)

새로운 이미지 브러시를 만듭니다.

public XpsImageBrush CreateImageBrush(string imagePath, RectangleF viewbox, RectangleF viewport)

Parameters

imagePath string

그림으로 가는 길은 브러쉬 타일처럼 가야합니다.

viewbox RectangleF

브러쉬의 출처 콘텐츠의 위치와 차원.

viewport RectangleF

프리미엄 브러쉬의 컨테이너 좌표 공간의 지역스프레이가 적용되는 지역을 채우기 위해 (어쩌면 반복적으로) 적용되는 막대기

Returns

XpsImageBrush

새 이미지 브러시

CreateLinearGradientBrush(리스트, 포인트 F, 포인트 F)

새로운 선형 그라디언트 브러시를 만듭니다.

public XpsLinearGradientBrush CreateLinearGradientBrush(List<xpsgradientstop> gradientStops, PointF startPoint, PointF endPoint)

Parameters

gradientStops List &lt에 대한 정보 XpsGradientStop >

그라디언트 목록이 멈춘다.

startPoint PointF

라인 그라디언트의 출발점.

endPoint PointF

라인 그라디언트의 끝점입니다.

Returns

XpsLinearGradientBrush

새로운 선형 그라디언트 브러시

CreateLinearGradientBrush(포인트 F, 포인트 F)

새로운 선형 그라디언트 브러시를 만듭니다.

public XpsLinearGradientBrush CreateLinearGradientBrush(PointF startPoint, PointF endPoint)

Parameters

startPoint PointF

라인 그라디언트의 출발점.

endPoint PointF

라인 그라디언트의 끝점입니다.

Returns

XpsLinearGradientBrush

새로운 선형 그라디언트 브러시

CreateMatrix(해군, 해군, 해군, 해군, 해군)

새로운 변형 매트릭스를 만듭니다.

public XpsMatrix CreateMatrix(float m11, float m12, float m21, float m22, float m31, float m32)

Parameters

m11 float

요소 11

m12 float

요소 12

m21 float

요소 21

m22 float

요소 22

m31 float

요소 31

m32 float

요소 32

Returns

XpsMatrix

새로운 변형 매트릭스.

CreatePath(XpsPathGeometry)

새로운 길을 만들어 낸다.

public XpsPath CreatePath(XpsPathGeometry data)

Parameters

data XpsPathGeometry

경로의 지질학이다.

Returns

XpsPath

새로운 경로

CreatePathFigure(포인트 F, 볼)

새로운 경로 숫자를 만듭니다.

public XpsPathFigure CreatePathFigure(PointF startPoint, bool isClosed = false)

Parameters

startPoint PointF

경로 숫자의 첫 번째 세그먼트의 출발점.

isClosed bool

경로가 닫혀 있는지 지정합니다.실제로 설정되면, 충격이 끌려 갔습니다.“닫힌”, 즉, 경로 숫자의 마지막 부분의 마지막 포인트가 연결되어 있습니다.시작 포인트 속성에 지정된 포인트, 그렇지 않으면 충격이 “열려"되며,마지막 지점은 시작 지점과 연결되어 있지 않습니다.이 지점의 숫자만 적용됩니다.뇌졸중을 지정하는 경로 요소에서 사용됩니다.

Returns

XpsPathFigure

새로운 경로 숫자

CreatePathFigure(포인트F, 목록, 바울)

새로운 경로 숫자를 만듭니다.

public XpsPathFigure CreatePathFigure(PointF startPoint, List<xpspathsegment> segments, bool isClosed = false)

Parameters

startPoint PointF

경로 숫자의 첫 번째 세그먼트의 출발점.

segments List &lt에 대한 정보 XpsPathSegment >

경로 세그먼트 목록.

isClosed bool

경로가 닫혀 있는지 지정합니다.실제로 설정되면, 충격이 끌려 갔습니다.“닫힌”, 즉, 경로 숫자의 마지막 부분의 마지막 포인트가 연결되어 있습니다.시작 포인트 속성에 지정된 포인트, 그렇지 않으면 충격이 “열려"되며,마지막 지점은 시작 지점과 연결되어 있지 않습니다.이 지점의 숫자만 적용됩니다.뇌졸중을 지정하는 경로 요소에서 사용됩니다.

Returns

XpsPathFigure

새로운 경로 숫자

CreatePathGeometry(스트리트)

짧은 형태로 지정된 새로운 경로 지질을 만듭니다.

public XpsPathGeometry CreatePathGeometry(string abbreviatedGeometry)

Parameters

abbreviatedGeometry string

짧은 형태의 경로 지질학.

Returns

XpsPathGeometry

새로운 경로 지질학

CreatePathGeometry()

새로운 경로 지질학을 만듭니다.

public XpsPathGeometry CreatePathGeometry()

Returns

XpsPathGeometry

새로운 경로 지질학

CreatePathGeometry(리스트)

새로운 경로 지오메트리와 지정된 경로 숫자 목록을 만듭니다.

public XpsPathGeometry CreatePathGeometry(List<xpspathfigure> pathFigures)

Parameters

pathFigures List &lt에 대한 정보 XpsPathFigure >

경로 숫자 목록.

Returns

XpsPathGeometry

새로운 경로 지질학

CreatePolyBezierSegment(포인트F[ ] [ [ ], 바울)

새로운 큐브 Bézier 곡선 세트를 만듭니다.

public XpsPolyBezierSegment CreatePolyBezierSegment(PointF[] points, bool isStroked = true)

Parameters

points PointF [ ] [ [ ]

여러 Bézier 세그먼트를 위한 컨트롤 포인트

isStroked bool

이 도로의 이 부분에 대한 충격이 끌려가는지 여부를 지정합니다.

Returns

XpsPolyBezierSegment

새로운 큐브 Bézier 곡선 섹션.

CreatePolyLineSegment(포인트F[ ] [ [ ], 바울)

개별 계단의 자발적인 숫자를 포함하는 새로운 다중 그림을 만듭니다.

public XpsPolyLineSegment CreatePolyLineSegment(PointF[] points, bool isStroked = true)

Parameters

points PointF [ ] [ [ ]

폴리 라인 세그먼트를 정의하는 다중 세그먼트에 대한 일련의 코디네이트.

isStroked bool

이 도로의 이 부분에 대한 충격이 끌려가는지 여부를 지정합니다.

Returns

XpsPolyLineSegment

새로운 다이아몬드 디자인 세그먼트.

CreatePolyQuadraticBezierSegment(포인트F[ ] [ [ ], 바울)

경로 숫자에서 이전 포인트에서 쿼드 Bézier 곡선의 새로운 세트를 만들어 세트를 통해지정된 컨트롤 포인트를 사용하여 좌석을 사용합니다.

public XpsPolyQuadraticBezierSegment CreatePolyQuadraticBezierSegment(PointF[] points, bool isStroked = true)

Parameters

points PointF [ ] [ [ ]

여러 쿼드 Bézier 세그먼트를 위한 컨트롤 포인트.

isStroked bool

이 도로의 이 부분에 대한 충격이 끌려가는지 여부를 지정합니다.

Returns

XpsPolyQuadraticBezierSegment

새로운 쿼드 Bézier 곡선 섹션.

CreateRadialGradientBrush(리스트, 포인트 F, 포인트 F, 포인트 F, 포인트 F)

새로운 방사선 그라디언트 브러시를 만듭니다.

public XpsRadialGradientBrush CreateRadialGradientBrush(List<xpsgradientstop> gradientStops, PointF center, PointF gradientOrigin, float radiusX, float radiusY)

Parameters

gradientStops List &lt에 대한 정보 XpsGradientStop >

그라디언트 목록이 멈춘다.

center PointF

방사선 그라디언트의 중심 지점 (즉, 엘리피스의 중심 지점)

gradientOrigin PointF

라디얼 그라디언트의 출발점.

radiusX float

라디오를 정의하는 엘리프스의 x 차원에서 라디오.

radiusY float

방사선은 방사선 그라디언트를 정의하는 엘리피스의 y 차원이다.

Returns

XpsRadialGradientBrush

새로운 라디얼 그라디언트 브러시

CreateRadialGradientBrush(포인트F, 포인트F, 플로트, 플로트)

새로운 방사선 그라디언트 브러시를 만듭니다.

public XpsRadialGradientBrush CreateRadialGradientBrush(PointF center, PointF gradientOrigin, float radiusX, float radiusY)

Parameters

center PointF

방사선 그라디언트의 중심 지점 (즉, 엘리피스의 중심 지점)

gradientOrigin PointF

라디얼 그라디언트의 출발점.

radiusX float

라디오를 정의하는 엘리프스의 x 차원에서 라디오.

radiusY float

방사선은 방사선 그라디언트를 정의하는 엘리피스의 y 차원이다.

Returns

XpsRadialGradientBrush

새로운 라디얼 그라디언트 브러시

CreateSolidColorBrush(XpsColor)

새로운 단단한 색상 브러시를 만듭니다.

public XpsSolidColorBrush CreateSolidColorBrush(XpsColor color)

Parameters

color XpsColor

채워진 요소에 대한 색상

Returns

XpsSolidColorBrush

새로운 단단한 색상 브러시.

CreateSolidColorBrush(Color)

새로운 단단한 색상 브러시를 만듭니다.

public XpsSolidColorBrush CreateSolidColorBrush(Color color)

Parameters

color Color

채워진 요소에 대한 색상

Returns

XpsSolidColorBrush

새로운 단단한 색상 브러시.

CreateVisualBrush(XpsContentElement, RectangleF, RectangleF)

새로운 시각적 브러시를 만듭니다.

public XpsVisualBrush CreateVisualBrush(XpsContentElement element, RectangleF viewbox, RectangleF viewport)

Parameters

element XpsContentElement

XPS 요소 (Canvas, Path 또는 Glyphs)는 시각적 속성 또는 시각적 브러시를 위한 것입니다.

viewbox RectangleF

브러쉬의 출처 콘텐츠의 위치와 차원.

viewport RectangleF

프리미엄 브러쉬의 컨테이너 좌표 공간의 지역스프레이가 적용되는 지역을 채우기 위해 (어쩌면 반복적으로) 적용되는 막대기

Returns

XpsVisualBrush

새로운 시각 브러시

Dispose()

사례가 준비되어 있습니다.

public void Dispose()

GetDocumentPrintTicket(이트)

documentIndex"로 인덱스된 문서의 인쇄 티켓을 반환합니다.

public DocumentPrintTicket GetDocumentPrintTicket(int documentIndex)

Parameters

documentIndex int

인쇄 티켓이 반환되는 문서의 인덱스.

Returns

DocumentPrintTicket

문서의 인쇄 티켓

GetPagePrintTicket(이트, 이트)

pageIndex로 인덱스된 페이지의 인쇄 티켓을 documentIndex로 인덱스된 문서에 반환합니다.

public PagePrintTicket GetPagePrintTicket(int documentIndex, int pageIndex)

Parameters

documentIndex int

이 문서의 인덱스.

pageIndex int

인쇄 티켓이 반환되는 페이지의 인덱스.

Returns

PagePrintTicket

페이지의 인쇄 티켓

삽입 T>(, T)

index’ 위치에서 활성 페이지에 항목 (Canvas, Path, 또는 Glyphs)을 입력합니다.

public T Insert<t>(int index, T element) where T : XpsContentElement

Parameters

index int

element"을 입력해야 하는 위치.

element T

삽입해야 하는 요소

Returns

T

삽입된 요소

파라미터 유형

T

요소의 종류에 대하여

InsertCanvas(이트)

index’ 위치에서 활성 페이지에 새 캔버스를 삽입합니다.

public XpsCanvas InsertCanvas(int index)

Parameters

index int

새로운 캔버스가 삽입되어야 할 위치.

Returns

XpsCanvas

삽입된 캔버스

InsertDocument(바울, 바울)

기본 페이지 크기 index’ 위치를 가진 빈 문서를 입력합니다.

public void InsertDocument(int index, bool activate = true)

Parameters

index int

문서를 입력해야 하는 위치.

activate bool

깃발은 입력 된 문서를 활성으로 선택할 수 있는지 여부를 나타냅니다.

InsertDocument(인트, 플로트, 플로트, 볼)

빈 문서를 width’와 height’의 첫 번째 페이지 차원과 index’ 위치에 입력합니다.

public void InsertDocument(int index, float width, float height, bool activate = true)

Parameters

index int

문서를 입력해야 하는 위치.

width float

첫 페이지의 넓이.

height float

첫 페이지의 높이.

activate bool

깃발은 입력 된 문서를 활성으로 선택할 수 있는지 여부를 나타냅니다.

InsertGlyphs(인트, 스트립, 플로이트, FontStyle, 플로이트, 플로이트, 스트립)

index’ 위치에서 활성 페이지에 새로운 글리프를 삽입합니다.

public XpsGlyphs InsertGlyphs(int index, string fontFamily, float fontSize, FontStyle fontStyle, float originX, float originY, string unicodeString)

Parameters

index int

새로운 글리프가 삽입되어야하는 위치.

fontFamily string

폰트 가족

fontSize float

글쓰기 크기

fontStyle FontStyle

글쓰기 스타일

originX float

Glyphs 출처 X 좌표.

originY float

Glyphs 원산지 Y 조정.

unicodeString string

인쇄할 수 있는 끈

Returns

XpsGlyphs

삽입된 글리프

InsertGlyphs(int, XpsFont, 흐름, 흐름, 흐름, 스트리트)

index’ 위치에서 활성 페이지에 새로운 글리프를 삽입합니다.

public XpsGlyphs InsertGlyphs(int index, XpsFont font, float fontSize, float originX, float originY, string unicodeString)

Parameters

index int

새로운 글리프가 삽입되어야하는 위치.

font XpsFont

폰트 리소스

fontSize float

글쓰기 크기

originX float

Glyphs 출처 X 좌표.

originY float

Glyphs 원산지 Y 조정.

unicodeString string

인쇄할 수 있는 끈

Returns

XpsGlyphs

삽입된 글리프

InsertPage(바울, 바울)

기본 페이지 크기 index’ 위치를 가진 문서에 빈 페이지를 입력합니다.

public XpsPage InsertPage(int index, bool activate = true)

Parameters

index int

페이지를 입력해야 하는 위치.

activate bool

깃발은 삽입 된 페이지를 활성으로 선택해야하는지 여부를 나타냅니다.

Returns

XpsPage

삽입된 페이지

InsertPage(인트, 플로트, 플로트, 볼)

문서에 width’ 및 height’를 지정한 index’ 위치로 빈 페이지를 입력합니다.

public XpsPage InsertPage(int index, float width, float height, bool activate = true)

Parameters

index int

페이지를 입력해야 하는 위치.

width float

새로운 페이지의 넓이.

height float

새로운 페이지의 높이.

activate bool

깃발은 삽입 된 페이지를 활성으로 선택해야하는지 여부를 나타냅니다.

Returns

XpsPage

삽입된 페이지

InsertPage(이트, XpsPage, bool)

문서에 페이지를 index” 위치에 입력합니다.

public XpsPage InsertPage(int index, XpsPage page, bool activate = true)

Parameters

index int

페이지가 추가되어야 하는 위치.

page XpsPage

삽입해야 하는 페이지입니다.

activate bool

깃발은 삽입 된 페이지를 활성으로 선택해야하는지 여부를 나타냅니다.

Returns

XpsPage

삽입된 페이지

InsertPath(인트, XpsPathGeometry)

index’ 위치에서 활성 페이지에 새로운 경로를 입력합니다.

public XpsPath InsertPath(int index, XpsPathGeometry data)

Parameters

index int

새로운 경로가 삽입되어야 할 위치.

data XpsPathGeometry

경로의 지질학이다.

Returns

XpsPath

삽입된 경로

Merge(스트리트[ ] [ [ ], 링크)

여러 XPS 파일을 하나의 XPS 문서로 융합합니다.

public void Merge(string[] filesForMerge, string outXpsFilePath)

Parameters

filesForMerge string [ ] [ [ ]

이 문서와 결합하기 위한 XPS 파일.

outXpsFilePath string

출력 xps 파일 경로.

Merge(스트리트[ ] [ [ ], 흐름)

여러 XPS 파일을 하나의 XPS 문서로 융합합니다.

public void Merge(string[] filesForMerge, Stream outStream)

Parameters

filesForMerge string [ ] [ [ ]

이 문서와 결합하기 위한 XPS 파일.

outStream Stream

결합 된 XPS 문서를 저장할 수있는 출력 스트림.

MergeToPdf(스트리트[ ] [ [ ], 링크, PdfSaveOptions)

Aspose.Page.Device 예를 사용하여 XPS 문서를 PDF로 삽입합니다.

public void MergeToPdf(string[] filesForMerge, string outPdfFilePath, PdfSaveOptions options)

Parameters

filesForMerge string [ ] [ [ ]

XPS 파일은 출력 장치에 이 문서와 결합할 수 있습니다.

outPdfFilePath string

출력 PDF 파일 경로.

options PdfSaveOptions

문서 저장 옵션

MergeToPdf(스트리트[ ] [ [ ], 스트림, PdfSaveOptions)

Aspose.Page.Device 예를 사용하여 XPS 문서를 PDF로 삽입합니다.

public void MergeToPdf(string[] filesForMerge, Stream pdfStream, PdfSaveOptions options)

Parameters

filesForMerge string [ ] [ [ ]

XPS 파일은 출력 장치에 이 문서와 결합할 수 있습니다.

pdfStream Stream

출력 PDF 스트림.

options PdfSaveOptions

문서 저장 옵션

제거 T>(T)

활성 페이지에서 항목을 제거합니다.

public T Remove<t>(T element) where T : XpsContentElement

Parameters

element T

제거해야 하는 요소

Returns

T

제거된 요소

파라미터 유형

T

요소의 종류에 대하여

RemoveAt(이트)

활성 페이지에서 index” 위치에있는 항목을 제거합니다.

public XpsContentElement RemoveAt(int index)

Parameters

index int

어떤 항목을 제거해야 하는지에 대한 위치.

Returns

XpsContentElement

제거된 요소

RemoveDocumentAt(이트)

index" 위치에서 문서를 제거합니다.

public void RemoveDocumentAt(int index)

Parameters

index int

문서가 삭제되어야 하는 위치.

RemovePage(XpsPage)

문서에서 페이지를 제거합니다.

public XpsPage RemovePage(XpsPage page)

Parameters

page XpsPage

삭제해야 하는 페이지

Returns

XpsPage

삭제된 페이지

RemovePageAt(이트)

문서에서 index’ 위치의 페이지를 제거합니다.

public XpsPage RemovePageAt(int index)

Parameters

index int

페이지가 제거되어야 하는 위치

Returns

XpsPage

삭제된 페이지

Save(스트리트)

XPS 문서를 path"에 위치한 XPS 파일에 저장합니다.

public void Save(string path)

Parameters

path string

문서의 위치

Save(Stream)

XPS 문서를 스트림으로 저장합니다.

public void Save(Stream stream)

Parameters

stream Stream

스트림 XPS 문서가 저장됩니다.

SaveAsImage(ImageSaveOptions)

문서를 bitmap 이미지 형식으로 저장합니다.

public byte[][][] SaveAsImage(ImageSaveOptions options)

Parameters

options ImageSaveOptions

문서를 bitmap 이미지 형식으로 저장할 수 있는 옵션.

Returns

byte [ ] [ ] [ ] [ ] [ ] [ ] [ ]

결과 이미지는 바이트 레이어입니다. 첫 번째 차원은 내부 문서입니다.그리고 두 번째는 내부 문서 내의 페이지입니다.

SaveAsPdf(링크, PdfSaveOptions)

PDF 형식으로 문서를 저장합니다.

public void SaveAsPdf(string outPdfFilePath, PdfSaveOptions options)

Parameters

outPdfFilePath string

출력 PDF 파일 경로.

options PdfSaveOptions

PDF 형식으로 문서를 저장할 수 있는 옵션.

SaveAsPdf(스트림, PdfSaveOptions)

PDF 형식으로 문서를 저장합니다.

public void SaveAsPdf(Stream stream, PdfSaveOptions options)

Parameters

stream Stream

스트림은 출력 PDF 파일을 작성합니다.

options PdfSaveOptions

PDF 형식으로 문서를 저장할 수 있는 옵션.

SaveAsPs(링크, PsSaveOptions)

PS 형식으로 문서를 저장합니다.

public void SaveAsPs(string outPsFilePath, PsSaveOptions options)

Parameters

outPsFilePath string

출력 PS 파일 경로.

options PsSaveOptions

PS 형식으로 문서를 저장할 수 있는 옵션.

SaveAsPs(스트림, PsSaveOptions)

PS 형식으로 문서를 저장합니다.

public void SaveAsPs(Stream stream, PsSaveOptions options)

Parameters

stream Stream

스트림은 출력 PS 파일을 작성합니다.

options PsSaveOptions

PS 형식으로 문서를 저장할 수 있는 옵션.

SelectActiveDocument(이트)

편집을 위한 활성 문서를 선택합니다.

public void SelectActiveDocument(int documentNumber)

Parameters

documentNumber int

문서 번호 입니다.

Exceptions

ArgumentException

documentNumber’가 제한이 없을 때 통과합니다.

SelectActivePage(이트)

편집을 위한 활성 문서 페이지를 선택합니다.

public XpsPage SelectActivePage(int pageNumber)

Parameters

pageNumber int

한 페이지 번호

Returns

XpsPage

Aspose.Page.XPS.XpsModel.XpsPage 활성 페이지 예제.

Exceptions

ArgumentException

pageNumber’가 제한이 없을 때 통과합니다.

SetDocumentPrintTicket(인트, DocumentPrintTicket)

printTicket’을 documentIndex"로 인덱스된 문서에 링크합니다.

public void SetDocumentPrintTicket(int documentIndex, DocumentPrintTicket printTicket)

Parameters

documentIndex int

인덱스 문서에 인쇄 티켓을 링크합니다.

printTicket DocumentPrintTicket

링크로 인쇄된 티켓입니다.

SetPagePrintTicket(이트, 이트, PagePrintTicket)

printTicket’을 pageIndex에 인덱스된 페이지에 링크하여 documentIndex에 인덱스합니다.

public void SetPagePrintTicket(int documentIndex, int pageIndex, PagePrintTicket printTicket)

Parameters

documentIndex int

이 문서의 인덱스.

pageIndex int

인덱스 페이지는 인쇄 티켓을 링크합니다.

printTicket PagePrintTicket

링크로 인쇄된 티켓입니다.

 한국어