Home COM GDI+ WebBrowser Data Access

ILineInfo Interface

 

IID_ILineInfo

{3050F7E2-98B5-11CF-BB82-00AA00BDCE0B}

 

 

This interface provides methods that enable you to work with display pointers and the insertion point as they relate to the on-screen layout.

 

Documentation: ILineInfo Interface

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

ILineInfo Methods

Description

x

Retrieves the horizontal distance from the edge of the flow layout element containing a line of text to the beginning of the line.

baseLine

Retrieves the y-coordinate of the line's baseline, relative to its containing element.

textDescent

Retrieves the amount that a line's descenders fall below the baseline.

textHeight

Retrieves the height of a line of text.

lineDirection

Retrieves the direction in which a line of text is read, either from left to right or from right to left.

 

x

 

FUNCTION ILineInfo_get_x ( _
  BYVAL pthis AS DWORD PTR _
, BYREF p AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING ILineInfo_get_x (pthis, p) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

baseLine

 

FUNCTION ILineInfo_get_baseLine ( _
  BYVAL pthis AS DWORD PTR _
, BYREF p AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING ILineInfo_get_baseLine (pthis, p) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

textDescent

 

FUNCTION ILineInfo_get_textDescent ( _
  BYVAL pthis AS DWORD PTR _
, BYREF p AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[5] USING ILineInfo_get_textDescent (pthis, p) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

textHeight

 

FUNCTION ILineInfo_get_textHeight ( _
  BYVAL pthis AS DWORD PTR _
, BYREF p AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[6] USING ILineInfo_get_textHeight (pthis, p) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

lienDirection

 

FUNCTION ILineInfo_get_lineDirection ( _
  BYVAL pthis AS DWORD PTR _
, BYREF p AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[7] USING ILineInfo_get_lineDirection (pthis, p) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Monday, 03 April 2006 19:59:50 +0200