| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace PrintSolution
- {
- public class PictureInfo
- {
- private string picPath = string.Empty;
- public string PicPath
- {
- get { return picPath; }
- set { picPath = value.Contains(":") ? value : AppDomain.CurrentDomain.BaseDirectory + value; }
- }
- private double picTop = 0;
- public double PicTop
- {
- get { return picTop; }
- set { picTop = value; }
- }
- private double picLeft = 0;
- public double PicLeft
- {
- get { return picLeft; }
- set { picLeft = value; }
- }
- private double picWidth = double.MinValue;
- public double PicWidth
- {
- get { return picWidth; }
- set { picWidth = value; }
- }
- private double picHeight = double.MinValue;
- public double PicHeight
- {
- get { return picHeight; }
- set { picHeight = value; }
- }
- }
- }
|