Show / Hide Table of Contents

Class VisualExtensions

Contiene extensiones para la clase Visual.

Inheritance
object
VisualExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Helpers
Assembly: MCART.Wpf.Common.dll
Syntax
public static class VisualExtensions

Methods

| Edit this page View Source

Render(Visual, Size, int)

Crea un mapa de bits de un Visual.

Declaration
public static RenderTargetBitmap Render(this Visual visual, Size size, int dpi)
Parameters
Type Name Description
Visual visual

Visual a renderizar.

Size size

Tamaño del canvas en donde se renderizará el control.

int dpi

Valor de puntos por pulgada a utilizar para crear el mapa de bits.

Returns
Type Description
RenderTargetBitmap

Un objeto RenderTargetBitmap que contiene una imagen renderizada de visual.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX