SetGraphicsState

Vectorgraphics, Tekst, Pagina-indeling

Beschrijving

Past een herbruikbare graphics-state-ID toe die door NewGraphicsState is aangemaakt op de huidige contentstream, zodat volgende tekenbewerkingen die ExtGState gebruiken

Syntaxis

Delphi

Function TPDFlib.SetGraphicsState(GraphicsStateID: Integer): Integer;

ActiveX

Function PDFlib::SetGraphicsState(GraphicsStateID As Long) As Long

DLL

int DLSetGraphicsState(int InstanceID, int GraphicsStateID);

Syntaxis

GraphicsStateIDDe herbruikbare graphics-state-ID geretourneerd door NewGraphicsState voor het geselecteerde document

Retourwaarden

0De ID is ongeldig of was niet voor het geselecteerde document aangemaakt
1De graphics state is toegepast op de huidige contentstream

Opmerkingen

gs

SaveState-operator naar de actieve contentstream Roep LoadState aan vóór het toepassen van een herbruikbare graphics state en