Class DocDevice
이름 공간 : Aspose.Html.Rendering.Doc 구성: Aspose.HTML.dll (25.5.0)
DOCX 문서에 대한 인증을 나타냅니다.
[ComVisible(true)]
public class DocDevice : Device<docdevice.docgraphiccontext, docrenderingoptions="">, IDevice, IDisposable
Inheritance
object ← Device ← Device<docdevice.docgraphiccontext, docrenderingoptions=""> ← DocDevice
Implements
상속 회원들
Device<docdevice.docgraphiccontext, docrenderingoptions="">.Initialize() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.SaveGraphicContext() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.RestoreGraphicContext() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.GetExtension() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.BeginDocument(Document) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.EndDocument() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.BeginPage(SizeF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.EndPage() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.Flush() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.BeginElement(Element, RectangleF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.EndElement(Element) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.ClosePath() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.MoveTo(PointF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.LineTo(PointF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.AddRect(RectangleF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.CubicBezierTo(PointF, PointF, PointF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.Stroke() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.Fill(FillRule) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.Clip(FillRule) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.StrokeAndFill(FillRule) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.FillText(string, PointF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.StrokeText(string, PointF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.DrawImage(byte[], WebImageFormat, RectangleF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.Dispose() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.Dispose(bool) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.Options , Device<docdevice.docgraphiccontext, docrenderingoptions="">.Configuration , Device<docdevice.docgraphiccontext, docrenderingoptions="">.GraphicContext , Device<docdevice.docgraphiccontext, docrenderingoptions="">.StreamProvider , Device<docdevice.docgraphiccontext, docrenderingoptions="">.OutputStream , Device<docdevice.docgraphiccontext, docrenderingoptions="">.PageIndex , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
DocDevice(ICREATE 스트림프라이더)
Aspose.Html.Rendering.Doc.DocDevice 클래스의 새로운 사례를 시작합니다.
public DocDevice(ICreateStreamProvider streamProvider)
Parameters
streamProvider
ICreateStreamProvider
Aspose.Html.IO.ICreateStreamProvider 인터페이스를 실행하는 개체
DocDevice(DocRenderingOptions, ICreateStream프라이더)
Aspose.Html.Rendering.Doc.DocDevice 클래스의 새로운 예를 시작하여 옵션과 스트림 공급자를 제공합니다.
public DocDevice(DocRenderingOptions options, ICreateStreamProvider streamProvider)
Parameters
options
DocRenderingOptions
렌더링 옵션
streamProvider
ICreateStreamProvider
Aspose.Html.IO.ICreateStreamProvider 인터페이스를 실행하는 개체
DocDevice(스트리트)
출력 파일 이름에 따라 Aspose.Html.Rendering.Doc.DocDevice 클래스의 새로운 예를 시작합니다.
public DocDevice(string file)
Parameters
file
string
출력 파일 이름
DocDevice(DocRenderingOptions, 스트리트)
Aspose.Html.Rendering.Doc.DocDevice 클래스의 새로운 예를 시작하여 옵션과 출력 파일 이름을 제공합니다.
public DocDevice(DocRenderingOptions options, string file)
Parameters
options
DocRenderingOptions
렌더링 옵션
file
string
출력 파일 이름
DocDevice(Stream)
출력 스트림에 따라 Aspose.Html.Rendering.Doc.DocDevice 클래스의 새로운 예를 시작합니다.
public DocDevice(Stream stream)
Parameters
stream
Stream
출력 스트림
DocDevice(렌터카 옵션, 스트림)
Aspose.Html.Rendering.Doc.DocDevice 클래스의 새로운 예를 시작하여 옵션과 출력 스트림을 제공합니다.
public DocDevice(DocRenderingOptions options, Stream stream)
Parameters
options
DocRenderingOptions
렌더링 옵션
stream
Stream
출력 스트림
Methods
AddRect(오른쪽)
현재 경로에 직경을 완전한 하위 경로로 붙여 넣으십시오.
public override void AddRect(RectangleF rect)
Parameters
rect
RectangleF
그림을 그릴 수 있는 오른쪽.
BeginDocument(Document)
문서를 제출하기 시작합니다.
public override void BeginDocument(Document document)
Parameters
document
Document
이 문서를
BeginElement(원제 : RectangleF)
HTML 노드의 렌더링이 시작됩니다.
public override bool BeginElement(Element element, RectangleF rect)
Parameters
element
Element
HTML 요소를 사용합니다.
rect
RectangleF
노드의 경계 상자.
Returns
[진실] 항목이 처리되어야 하는 경우에 반환합니다.
BeginPage(세이즈)
새 페이지를 시작합니다.
public override void BeginPage(SizeF size)
Parameters
size
SizeF
페이지의 크기
Clip(FillRule)
현재 클립 경로를 변경하여 현재 경로와 교차하여 FillMode 규칙을 사용하여 지역을 채우는 것을 결정합니다.이 방법은 현재의 경로를 종료합니다.
public override void Clip(FillRule mode)
Parameters
mode
FillRule
채우기 모드는 닫힌 경로의 내부가 어떻게 붙어 있는지 지정합니다.
ClosePath()
현재 하위 경로를 닫는 것은 현재 지점에서 하위 경로의 출발 지점까지 똑바로 라인 세그먼트를 묶는 것입니다.현재 하위 경로가 이미 폐쇄되면 “ClosePath"는 아무것도하지 않습니다.이 운영자는 현재 하위 경로를 종료합니다.이 경로에 다른 세그먼트를 추가하면 새로운 하위 경로가 시작됩니다.심지어 새로운 세그먼트가 “ClosePath” 방법에 의해 달성 된 최종 지점에서 시작되면.
public override void ClosePath()
CubicBezierTo(포인트 F, 포인트 F, 포인트 F)
현재 경로에 큐브 Bézier 곡선을 첨가합니다.이 곡선은 현재 지점에서 pt2 지점까지 확장됩니다.pt1 및 pt2를 Bézier 컨트롤 포인트로 사용합니다.새로운 현재 포인트는 pt3.
public override void CubicBezierTo(PointF pt1, PointF pt2, PointF pt3)
Parameters
pt1
PointF
첫 번째 포인트의 조정
pt2
PointF
두 번째 포인트의 조정
pt3
PointF
세 번째 포인트의 조정
DrawImage(바이트[ ] [ [ ], WebImageFormat, RectangleF)
지정된 이미지를 표시합니다.
public override void DrawImage(byte[] data, WebImageFormat imageFormat, RectangleF rect)
Parameters
data
byte
[ ] [ [ ]
이미지를 나타내는 수많은 바이트.
imageFormat
WebImageFormat
이미지 형식
rect
RectangleF
그림을 그려야 할 위치와 크기를 결정하는 직경.
EndElement(Element)
HTML 노드의 렌더링이 끝납니다.
public override void EndElement(Element element)
Parameters
element
Element
HTML 요소를 사용합니다.
EndPage()
현재 페이지를 정리하는 것이 끝납니다.
public override void EndPage()
Fill(FillRule)
그것은 현재의 경로에 의해 덮여있는 전체 지역을 채우고 있습니다.경로가 여러 개의 분리 된 하위 경로로 구성되어 있다면, 그것은 모든 하위 경로의 내부를 채우고,함께 고려해 보자.이 방법은 현재의 경로를 종료합니다.
public override void Fill(FillRule mode)
Parameters
mode
FillRule
채우기 모드는 닫힌 경로의 내부가 어떻게 채우는지 지정합니다.
FillText(포인트, 포인트)
지정된 위치에서 지정된 텍스트 스트립을 채우십시오.
public override void FillText(string text, PointF pt)
Parameters
text
string
채우기 위한 끈
pt
PointF
텍스트의 좌표를 지정하는 포인트.
Flush()
모든 데이터를 출력 스트림으로 흐르십시오.
public override void Flush()
GetExtension()
출력 파일의 확장을 얻습니다.
protected override string GetExtension()
Returns
파일 확장
Initialize()
컨텍스트 스택을 시작합니다.
protected override void Initialize()
LineTo(포인트F)
현재 포인트에서 현재 포인트 (pt)에 직선 라인 세그먼트를 첨부합니다.
public override void LineTo(PointF pt)
Parameters
pt
PointF
어디서 라인을 만들 수 있는지.
MoveTo(포인트F)
새 하위 경로를 시작하여 현재 포인트를 파라미터 pt의 좌표로 이동하여 연결 라인 세그먼트를 무시합니다.현재 경로의 이전 경로 건설 방법이 “MoveTo"였다면, 새로운 “MoveTo"는 그것을 초과합니다.이전 “MoveTo” 작전의 잔해가 길에 남아 있지 않습니다.
public override void MoveTo(PointF pt)
Parameters
pt
PointF
그 길을 어디로 옮길 수 있는지.
Stroke()
현재 경로를 따라 라인을 흔들며, 흔들리는 라인은 경로의 각 직선 또는 곡선 섹션을 따릅니다.그것과 동시에 측면이있는 세그먼트에 중점을 둡니다.이 경로의 각 하위 경로는 개별적으로 처리됩니다.이 방법은 현재의 경로를 종료합니다.
public override void Stroke()
StrokeAndFill(FillRule)
공격하고 현재 경로를 채우십시오.이 방법은 현재의 경로를 종료합니다.
public override void StrokeAndFill(FillRule mode)
Parameters
mode
FillRule
채우기 모드는 닫힌 경로의 내부가 어떻게 채워지는지 지정합니다.
StrokeText(포인트, 포인트)
지정된 위치에 지정된 텍스트 스트립을 흔들어 놓습니다.
public override void StrokeText(string text, PointF pt)
Parameters
text
string
충격에 끈다.
pt
PointF
텍스트를 시작하는 곳을 지정하는 지점.</docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,>