public DrawTrademarkStyle(string file, int percent, TrademarkPositionType trademarkPosition) { this.fileValue = file; this.percentValue = percent; Size size = ImageApp.GetBitmapSize(file); this.widthValue = size.Width; this.heightValue = size.Height; this.leftValue = 0; this.topValue = 0; this.trademarkPositionValue = trademarkPosition; }