SetGDIPlusOptions
Rendering en afdrukken
Beschrijving
Stelt diverse opties in voor de renderer wanneer de GDI+ library wordt gebruikt
Opties 10, 11 en 12 overstijgen opties 2 en 3 als die op iets anders dan 0 zijn gezet
Syntaxis
Delphi
Function TPDFlib.SetGDIPlusOptions(OptionID, NewValue: Integer): Integer;
ActiveX
Function PDFlib::SetGDIPlusOptions(OptionID As Long, NewValue As Long) As Long
DLL
int DLSetGDIPlusOptions(int InstanceID, int OptionID, int NewValue);
Parameters
| OptionID | 0 = Use of GDI+ 1 = Text/vector graphics smoothing 2 = Interpolation 3 = Image smoothing 4 = Process null paths 5 = Mono threshold 6 = DLL piggyback 7 = DLL startup 8 = DLL suppress background thread 9 = Enhance thin lines 10 = GDIPlus SmoothingMode 11 = GDIPlus InterpolationMode 12 = GDIPlus PixelOffsetMode |
|---|---|
| NewValue | Voor gebruik van GDI+: 0 = GDI+ niet gebruiken 1 = GDI+ gebruiken (standaard) Voor smoothing van tekst/vectorgraphics: 0 = Geen smoothing 1 = Tekst en vectorgraphics smoothen (standaard) Voor interpolatie: 0 = Standaard 1 = Nauwkeurig (standaard) Voor afbeeldingen: 0 = Geen smoothing (standaard) 1 = Smoothing Voor null-paden: 0 = Negeren 1 = Verwerken (standaard) Voor de mono-drempel: 0 = Geen drempelwaarde (standaard) 1..255 = Drempelniveau 6 = DLL piggyback 7 = DLL-opstart 8 = DLL background thread onderdrukken Voor DLL piggyback: 0 = Niet toestaan 1 = Toestaan (bestaande DLL-instantie hergebruiken) Voor DLL-opstart (GdiplusStartup/GdiplusShutdown) 0 = Nooit aanroepen 1 = Niet aanroepen bij piggyback op bestaande DLL 2 = Altijd aanroepen Voor DLL background thread onderdrukken: 0 = Nee (niet onderdrukken) 1 = Ja (background thread onderdrukken) Voor Enhance thin lines: 0 = Niets doen (standaard) 1 - 9 = Lijnen smaller dan 1 device-eenheid verdikken naar de opgegeven dikte Voor GDIPlus SmoothingMode 0 = smDefault, 1 = smHighSpeed, 2= smHighQuality, 3 = smNone, 4 = smAntiAlias Voor GDIPlus InterpolationMode 0 = imDefault, 1 = imLowQuality, 2 = imHighQuality, 3 = imBilinear, 4 = imBicubic, 5 = NearestNeighbor 6 = imHighQualityBilinear, 7 = imHighQualityBicubic Voor GDIPlus PixelOffsetMode 0 = poDefault, 1 = poHighSpeed, 2 = poHighQuality 4 = poNone, 4 = poHalf |