NewGraphicsState

Vector graphics, Text, Page layout

Mô tả

Trang tham chiếu cho NewGraphicsState. Hàm thuộc Vector graphics, Text, Page layout và giữ nguyên mọi định danh đúng như hiển thị

Cú pháp

Delphi

Function TPDFlib.NewGraphicsState(FillTransparency, StrokeTransparency: Integer; LineWidth: Double; LineCap, LineJoin: Integer; MiterLimit: Double): Integer;

ActiveX

Function PDFlib::NewGraphicsState(FillTransparency As Long, StrokeTransparency As Long, LineWidth As Double, LineCap As Long, LineJoin As Long, MiterLimit As Double) As Long

DLL

int DLNewGraphicsState(int InstanceID, int FillTransparency, int StrokeTransparency, double LineWidth, int LineCap, int LineJoin, double MiterLimit);

Giá trị trả về

0Không có thuộc tính trạng thái đồ họa (graphics-state) hợp lệ nào được cung cấp, một tham số nằm ngoài phạm vi, hoặc độ trong suốt không được phép ở chế độ PDF/A hiện tại
>0Một ID trạng thái đồ họa có thể tái sử dụng cho tài liệu đã chọn

Xem thêm