# Record TCefView

Description
Fields

## Unit

uCEFTypes

## Declaration

`type TCefView = record`

## Description

A View is a rectangle within the views View hierarchy. It is the base structure for all Views. All size and position values are in density independent pixels (DIP) unless otherwise indicated. Methods must be called on the browser process UI thread unless otherwise indicated.

NOTE: This struct is allocated DLL-side.

Implemented by ICefView.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_view_capi.h">CEF source file: /include/capi/views/cef_view_capi.h (cef_view_t))

## Overview

### Fields

Public | `base: TCefBaseRefCounted;`
Public | `as_browser_view: function(self: PCefView): PCefBrowserView; stdcall;`
Public | `as_button: function(self: PCefView): PCefButton; stdcall;`
Public | `as_panel: function(self: PCefView): PCefPanel; stdcall;`
Public | `as_scroll_view: function(self: PCefView): PCefScrollView; stdcall;`
Public | `as_textfield: function(self: PCefView): PCefTextfield; stdcall;`
Public | `get_type_string: function(self: PCefView): PCefStringUserFree; stdcall;`
Public | `to_string: function(self: PCefView; include_children: Integer): PCefStringUserFree; stdcall;`
Public | `is_valid: function(self: PCefView): Integer; stdcall;`
Public | `is_attached: function(self: PCefView): Integer; stdcall;`
Public | `is_same: function(self, that: PCefView): Integer; stdcall;`
Public | `get_delegate: function(self: PCefView): PCefViewDelegate; stdcall;`
Public | `get_window: function(self: PCefView): PCefWindow; stdcall;`
Public | `get_id: function(self: PCefView): Integer; stdcall;`
Public | `set_id: procedure(self: PCefView; id: Integer); stdcall;`
Public | `get_group_id: function(self: PCefView): Integer; stdcall;`
Public | `set_group_id: procedure(self: PCefView; group_id: Integer); stdcall;`
Public | `get_parent_view: function(self: PCefView): PCefView; stdcall;`
Public | `get_view_for_id: function(self: PCefView; id: Integer): PCefView; stdcall;`
Public | `set_bounds: procedure(self: PCefView; const bounds: PCefRect); stdcall;`
Public | `get_bounds: function(self: PCefView): TCefRect; stdcall;`
Public | `get_bounds_in_screen: function(self: PCefView): TCefRect; stdcall;`
Public | `set_size: procedure(self: PCefView; const size: PCefSize); stdcall;`
Public | `get_size: function(self: PCefView): TCefSize; stdcall;`
Public | `set_position: procedure(self: PCefView; const position: PCefPoint); stdcall;`
Public | `get_position: function(self: PCefView): TCefPoint; stdcall;`
Public | `set_insets: procedure(self: PCefView; const insets: PCefInsets); stdcall;`
Public | `get_insets: function(self: PCefView): TCefInsets; stdcall;`
Public | `get_preferred_size: function(self: PCefView): TCefSize; stdcall;`
Public | `size_to_preferred_size: procedure(self: PCefView); stdcall;`
Public | `get_minimum_size: function(self: PCefView): TCefSize; stdcall;`
Public | `get_maximum_size: function(self: PCefView): TCefSize; stdcall;`
Public | `get_height_for_width: function(self: PCefView; width: Integer): Integer; stdcall;`
Public | `invalidate_layout: procedure(self: PCefView); stdcall;`
Public | `set_visible: procedure(self: PCefView; visible: Integer); stdcall;`
Public | `is_visible: function(self: PCefView): Integer; stdcall;`
Public | `is_drawn: function(self: PCefView): Integer; stdcall;`
Public | `set_enabled: procedure(self: PCefView; enabled: Integer); stdcall;`
Public | `is_enabled: function(self: PCefView): Integer; stdcall;`
Public | `set_focusable: procedure(self: PCefView; focusable: Integer); stdcall;`
Public | `is_focusable: function(self: PCefView): Integer; stdcall;`
Public | `is_accessibility_focusable: function(self: PCefView): Integer; stdcall;`
Public | `has_focus: function(self: PCefView): Integer; stdcall;`
Public | `request_focus: procedure(self: PCefView); stdcall;`
Public | `set_background_color: procedure(self: PCefView; color: TCefColor); stdcall;`
Public | `get_background_color: function(self: PCefView): TCefColor; stdcall;`
Public | `get_theme_color: function(self: PCefView; color_id: integer): TCefColor; stdcall;`
Public | `convert_point_to_screen: function(self: PCefView; point: PCefPoint): Integer; stdcall;`
Public | `convert_point_from_screen: function(self: PCefView; point: PCefPoint): Integer; stdcall;`
Public | `convert_point_to_window: function(self: PCefView; point: PCefPoint): Integer; stdcall;`
Public | `convert_point_from_window: function(self: PCefView; point: PCefPoint): Integer; stdcall;`
Public | `convert_point_to_view: function(self, view: PCefView; point: PCefPoint): Integer; stdcall;`
Public | `convert_point_from_view: function(self, view: PCefView; point: PCefPoint): Integer; stdcall;`

## Description

### Fields

Public | `base: TCefBaseRefCounted;`
This item has no description.

Public | `as_browser_view: function(self: PCefView): PCefBrowserView; stdcall;`
This item has no description.

Public | `as_button: function(self: PCefView): PCefButton; stdcall;`
This item has no description.

Public | `as_panel: function(self: PCefView): PCefPanel; stdcall;`
This item has no description.

Public | `as_scroll_view: function(self: PCefView): PCefScrollView; stdcall;`
This item has no description.

Public | `as_textfield: function(self: PCefView): PCefTextfield; stdcall;`
This item has no description.

Public | `get_type_string: function(self: PCefView): PCefStringUserFree; stdcall;`
This item has no description.

Public | `to_string: function(self: PCefView; include_children: Integer): PCefStringUserFree; stdcall;`
This item has no description.

Public | `is_valid: function(self: PCefView): Integer; stdcall;`
This item has no description.

Public | `is_attached: function(self: PCefView): Integer; stdcall;`
This item has no description.

Public | `is_same: function(self, that: PCefView): Integer; stdcall;`
This item has no description.

Public | `get_delegate: function(self: PCefView): PCefViewDelegate; stdcall;`
This item has no description.

Public | `get_window: function(self: PCefView): PCefWindow; stdcall;`
This item has no description.

Public | `get_id: function(self: PCefView): Integer; stdcall;`
This item has no description.

Public | `set_id: procedure(self: PCefView; id: Integer); stdcall;`
This item has no description.

Public | `get_group_id: function(self: PCefView): Integer; stdcall;`
This item has no description.

Public | `set_group_id: procedure(self: PCefView; group_id: Integer); stdcall;`
This item has no description.

Public | `get_parent_view: function(self: PCefView): PCefView; stdcall;`
This item has no description.

Public | `get_view_for_id: function(self: PCefView; id: Integer): PCefView; stdcall;`
This item has no description.

Public | `set_bounds: procedure(self: PCefView; const bounds: PCefRect); stdcall;`
This item has no description.

Public | `get_bounds: function(self: PCefView): TCefRect; stdcall;`
This item has no description.

Public | `get_bounds_in_screen: function(self: PCefView): TCefRect; stdcall;`
This item has no description.

Public | `set_size: procedure(self: PCefView; const size: PCefSize); stdcall;`
This item has no description.

Public | `get_size: function(self: PCefView): TCefSize; stdcall;`
This item has no description.

Public | `set_position: procedure(self: PCefView; const position: PCefPoint); stdcall;`
This item has no description.

Public | `get_position: function(self: PCefView): TCefPoint; stdcall;`
This item has no description.

Public | `set_insets: procedure(self: PCefView; const insets: PCefInsets); stdcall;`
This item has no description.

Public | `get_insets: function(self: PCefView): TCefInsets; stdcall;`
This item has no description.

Public | `get_preferred_size: function(self: PCefView): TCefSize; stdcall;`
This item has no description.

Public | `size_to_preferred_size: procedure(self: PCefView); stdcall;`
This item has no description.

Public | `get_minimum_size: function(self: PCefView): TCefSize; stdcall;`
This item has no description.

Public | `get_maximum_size: function(self: PCefView): TCefSize; stdcall;`
This item has no description.

Public | `get_height_for_width: function(self: PCefView; width: Integer): Integer; stdcall;`
This item has no description.

Public | `invalidate_layout: procedure(self: PCefView); stdcall;`
This item has no description.

Public | `set_visible: procedure(self: PCefView; visible: Integer); stdcall;`
This item has no description.

Public | `is_visible: function(self: PCefView): Integer; stdcall;`
This item has no description.

Public | `is_drawn: function(self: PCefView): Integer; stdcall;`
This item has no description.

Public | `set_enabled: procedure(self: PCefView; enabled: Integer); stdcall;`
This item has no description.

Public | `is_enabled: function(self: PCefView): Integer; stdcall;`
This item has no description.

Public | `set_focusable: procedure(self: PCefView; focusable: Integer); stdcall;`
This item has no description.

Public | `is_focusable: function(self: PCefView): Integer; stdcall;`
This item has no description.

Public | `is_accessibility_focusable: function(self: PCefView): Integer; stdcall;`
This item has no description.

Public | `has_focus: function(self: PCefView): Integer; stdcall;`
This item has no description.

Public | `request_focus: procedure(self: PCefView); stdcall;`
This item has no description.

Public | `set_background_color: procedure(self: PCefView; color: TCefColor); stdcall;`
This item has no description.

Public | `get_background_color: function(self: PCefView): TCefColor; stdcall;`
This item has no description.

Public | `get_theme_color: function(self: PCefView; color_id: integer): TCefColor; stdcall;`
This item has no description.

Public | `convert_point_to_screen: function(self: PCefView; point: PCefPoint): Integer; stdcall;`
This item has no description.

Public | `convert_point_from_screen: function(self: PCefView; point: PCefPoint): Integer; stdcall;`
This item has no description.

Public | `convert_point_to_window: function(self: PCefView; point: PCefPoint): Integer; stdcall;`
This item has no description.

Public | `convert_point_from_window: function(self: PCefView; point: PCefPoint): Integer; stdcall;`
This item has no description.

Public | `convert_point_to_view: function(self, view: PCefView; point: PCefPoint): Integer; stdcall;`
This item has no description.

Public | `convert_point_from_view: function(self, view: PCefView; point: PCefPoint): Integer; stdcall;`
This item has no description.

Generated by PasDoc 1.0.4.