Class XpsCanvas
이름 공간 : Aspose.Page.XPS.XpsModel 모임: Aspose.Page.dll (25.4.0)
클래스 캡슐화 캔바스 요소 기능.이 요소는 요소를 함께 집합합니다. 예를 들어, Glyphs와 Path 요소단위로 식별되기 위해 캔버스에 그룹화 될 수 있습니다 (하이퍼 링크 목적지로) 또는각 자녀와 조상 요소에 합성 재산 가치를 적용한다.
public sealed class XpsCanvas : XpsContentElement, IEnumerable<xpscontentelement>, IEnumerable
Inheritance
object ← XpsObject ← XpsElement ← XpsHyperlinkElement ← XpsContentElement ← XpsCanvas
Implements
상속 회원들
XpsContentElement.RenderTransform , XpsContentElement.Clip , XpsContentElement.Opacity , XpsContentElement.OpacityMask , XpsHyperlinkElement.HyperlinkTarget , XpsElement.GetEnumerator() , XpsElement.this[int] , XpsElement.Count , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
EdgeMode
상자 내의 경로의 가장자리가 어떻게 반환되는지 제어하는 값을 반환/설정합니다.
public XpsEdgeMode EdgeMode { get; set; }
부동산 가치
Methods
추가 T>(T)
이 캔버스의 어린이 목록에 항목을 추가합니다.
public T Add<t>(T element) where T : XpsContentElement
Parameters
element
T
추가해야 할 요소입니다.
Returns
T
추가된 요소
파라미터 유형
T
추가해야 할 요소의 종류.
AddCanvas()
이 캔버스의 어린이 목록에 새로운 캔버스를 추가합니다.
public XpsCanvas AddCanvas()
Returns
캔버스를 추가합니다.
AddGlyphs(스트리트, 플로트, FontStyle, 플로트, 플로트, 스트리트)
이 캔버스의 어린이 목록에 새로운 글리프를 추가합니다.
public XpsGlyphs AddGlyphs(string fontFamily, float fontSize, FontStyle fontStyle, float originX, float originY, string unicodeString)
Parameters
fontFamily
string
폰트 가족
fontSize
float
글쓰기 크기
fontStyle
FontStyle
글쓰기 스타일
originX
float
Glyphs 출처 X 좌표.
originY
float
Glyphs 원산지 T 조정.
unicodeString
string
인쇄할 수 있는 끈
Returns
글리프를 추가합니다.
AddPath(XpsPathGeometry)
이 캔버스의 어린이 목록에 새로운 경로를 추가합니다.
public XpsPath AddPath(XpsPathGeometry data)
Parameters
data
XpsPathGeometry
경로의 지질학이다.
Returns
추가된 경로
Clone()
이 캔버스를 클론하라.
public XpsCanvas Clone()
Returns
이 캔버스의 클론입니다.
삽입 T>(, T)
이 캔버스의 어린이 목록에 index’ 위치에 항목을 입력합니다.
public T Insert<t>(int index, T element) where T : XpsContentElement
Parameters
index
int
항목이 삽입되어야 하는 위치.
element
T
삽입해야 하는 요소입니다.
Returns
T
삽입된 요소
파라미터 유형
T
추가해야 할 요소의 종류.
InsertCanvas(이트)
이 캔버스의 어린이 목록에 새 캔버스를 index’ 위치에 삽입합니다.
public XpsCanvas InsertCanvas(int index)
Parameters
index
int
새로운 캔버스가 삽입되어야 할 위치.
Returns
삽입된 캔버스
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 원산지 T 조정.
unicodeString
string
인쇄할 수 있는 끈
Returns
글리프를 추가합니다.
InsertPath(인트, XpsPathGeometry)
이 캔버스의 어린이 목록에 새로운 경로를 index’ 위치에 삽입합니다.
public XpsPath InsertPath(int index, XpsPathGeometry data)
Parameters
index
int
새로운 경로가 삽입되어야 할 위치.
data
XpsPathGeometry
경로의 지질학이다.
Returns
삽입된 경로