[Overview][Constants][Types][Classes][Index] Reference for unit 'ptc' (#ptc)

IPTCMode

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Describes a display mode.

Declaration

Source position: moded.inc line 34

type IPTCMode = interface

  function GetValid;

  

  function GetWidth;

  

  function GetHeight;

  

  function GetFormat;

  

  function Equals();

  

  property Valid: Boolean; [r]

  

Tests whether the mode is valid.

  property Width: Integer; [r]

  

Gets the width of the display mode in pixels.

  property Height: Integer; [r]

  

Gets the height of the display mode in pixels.

  property Format: IPTCFormat; [r]

  

Gets the pixel format of the display mode.

end;

Inheritance

IPTCMode

  

Describes a display mode.

Description

Describes a display mode.

The mode class describes a display mode with a specific width, height and pixel format. Mode objects are typically used with IPTCConsole.Modes and IPTCConsole.Open.