public KeyObjectPlaceholderImage(KeyImageReference keyImageReference, PresentationStateReference presentationStateReference, string reason) : base(5, 5) { _keyImageReference = keyImageReference; _presentationStateReference = presentationStateReference; InvariantTextPrimitive textGraphic = new InvariantTextPrimitive(_reason = reason); textGraphic.Color = Color.WhiteSmoke; base.ApplicationGraphics.Add(textGraphic); }
/// <summary> /// Adds a frame and associated presentation state to the serialization queue. /// </summary> public void AddImage(KeyImageReference keyImage, PresentationStateReference presentationState) { _framePresentationStates.Add(new KeyValuePair <KeyImageReference, PresentationStateReference>(keyImage, presentationState)); }