Discuss this help topic in SecureBlackbox Forum

TElPDFSignatureWidgetProps.OnLookupGlyphWidth

TElPDFSignatureWidgetProps     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This event is fired each time a glyph (character) with unknown width is encountered in the text.

Declaration

[C#]
    event TSBPDFLookupGlyphWidthEvent OnLookupGlyphWidth;
    delegate void TSBPDFLookupGlyphWidthEvent(Object Sender, int UCS, ref int Width);

[VB.NET]
    Event OnLookupGlyphWidth As TSBPDFLookupGlyphWidthEvent
    Delegate Sub TSBPDFLookupGlyphWidthEvent(ByVal Sender As Object, ByVal UCS As Integer, ByRef Width As Integer)

[Pascal]
    property OnLookupGlyphWidth : TSBPDFLookupGlyphWidthEvent;
    TSBPDFLookupGlyphWidthEvent = procedure(Sender : TObject; UCS : Integer; var Width : integer) of object;

[C++]
    void get_OnLookupGlyphWidth(TSBPDFLookupGlyphWidthEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnLookupGlyphWidth(TSBPDFLookupGlyphWidthEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPDFLookupGlyphWidthEvent)(void * _ObjectData, TObjectHandle Sender, int32_t UCS, int32_t &Width);

[PHP]
    TSBPDFLookupGlyphWidthEvent|callable|NULL get_OnLookupGlyphWidth()
    void set_OnLookupGlyphWidth(TSBPDFLookupGlyphWidthEvent|callable|NULL $Value)
    callable TSBPDFLookupGlyphWidthEvent(TObject $Sender, integer $UCS, integer &$Width)

[Java]
    TSBPDFLookupGlyphWidthEvent getOnLookupGlyphWidth();
    void setOnLookupGlyphWidth(TSBPDFLookupGlyphWidthEvent Value);
    TSBPDFLookupGlyphWidthEvent.Callback OnLookupGlyphWidth = new TSBPDFLookupGlyphWidthEvent.Callback() {
        public void TSBPDFLookupGlyphWidthEventCallback(TObject Sender, int UCS, TSBInteger Width) {
            //...
        }
    }

Parameters

  • UCS - the code point of the character.
  • Width - character's width.

Description

    This event allows to customize signature widget glyph widths. The width of the glyph should be passed via the corresponding parameter.

See also:     OnLookupGlyphName    

Discuss this help topic in SecureBlackbox Forum