# Record TCefView

Description
Hierarchy
Fields
Methods
Properties

## 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

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

## Description

### Fields

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Generated by PasDoc 0.17.0.snapshot.