ProScript .NET Documentation
ProScript .NET Documentation
ProScript
ResourceGraphic Class
ResourceGraphic Constructor
ResourceGraphic Methods

# ResourceGraphic Class

This class represents a graphic resource stored on the device.
Inheritance Hierarchy
System
Object
ProScript
Resource
ProScript
ResourceGraphic

Namespace: ProScript
Assembly: proscript-csharp (in proscript-csharp.dll) Version: 1.6.39.0 (1.6.39.0)
Syntax
C#
VB
C++
F#
Copy

    public class ResourceGraphic : Resource

    Public Class ResourceGraphic
    	Inherits Resource

    public ref class ResourceGraphic : public Resource

    type ResourceGraphic =
        class
            inherit Resource
        end

The ResourceGraphic type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| ResourceGraphic | Initializes a new instance of the ResourceGraphic class.
| ResourceGraphic(Int32, Byte ) | Initializes a new instance of the ResourceGraphic class.
| ResourceGraphic(Int32, Image) | Initializes a new instance of the ResourceGraphic class.

Top
Methods

| Name | Description
--- | --- | ---
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| GetData | Gets the graphic in byte data.
| GetGraphic | Gets the graphic data as an Image.
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetResourceNumber | Gets the id number of this resource. (Inherited from Resource.)
| GetType | Gets the type of the current instance. (Inherited from Object.)
| SetData | This sets the graphic using byte data.
| SetGraphic | Sets the graphic data using an Image
| SetResourceNumber | Sets the id number of this resource. (Inherited from Resource.)
| ToString | Prints this object as a human readable string. (Overrides Resource ToString .)

Top
See Also

#### Reference

ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.