/// <summary>Generates a HiColorGraphic item from a Resource. Supersedes HiColorGraphicFromResource.</summary> public static HiColorGraphic LoadFromResource(byte[] Resource) { return(new HiColorGraphic(GraphicUtils.ResourceToStringArray(Resource), "Graphic From Resource")); }
public BasicGraphicFromResource(string Name, byte[] Resource) : base(GraphicUtils.ResourceToStringArray(Resource), Name) { }
/// <summary>Loads a BasicGraphic from a Resource. Supersedes BasicGraphicFromResource</summary> /// <param name="Resource"></param> /// <returns></returns> public static BasicGraphic LoadFromResource(byte[] Resource) { return(new BasicGraphic(GraphicUtils.ResourceToStringArray(Resource), "Graphic from Resource")); }